# VIEWDIR System Variable
[GstarCAD 2015](../../Index.md) → [System Variables](../%28System%20Variables%29.md) → [V](%28V%29.md)
| | |
| --- | --- |
| (Read-only) | |
| Type | 3D-point |
| Saved-in | Drawing |
| Initial value | None |
Stores the viewing direction in the current viewport, expressed in UCS coordinates.
---
## Other versions with matching text
[GstarCAD 8 (2013–2014)](../../../2013/System%20Variables/V/VIEWDIR%20System%20Variable.md)