# UCSXDIR System Variable
[GstarCAD 2011](../../Index.md) → [System Variables](../%28System%20Variables%29.md) → [U](%28U%29.md)
| | |
| --- | --- |
| (Read-only) | |
| Type | 3D-point |
| Saved-in | Drawing |
| Initial value | X\=1.0000, Y\=0.0000, Z\=0.0000 |
Stores the X direction of the current UCS for the current viewport in the current space.
The setting of this system variable is viewport specific.
---
## Other versions with matching text
[GstarCAD 2012](../../../2012/System%20Variables/U/UCSXDIR%20System%20Variable.md)