# GRIDUNIT System Variable
[GstarCAD 2011](../../Index.md) → [System Variables](../%28System%20Variables%29.md) → [G](%28G%29.md)
| | |
| --- | --- |
| Type | 2D-point |
| Saved-in | Drawing |
| Initial value | X\=0.5000, Y\=0.5000 |
| Range | 0 or above |
Specifies the grid spacing (X and Y) for the current viewport.
---
## Other versions with matching text
[GstarCAD 2012](../../../2012/System%20Variables/G/GRIDUNIT%20System%20Variable.md)