# COMPASS System Variable [GstarCAD 2012](../../Index.md) → [System Variables](../%28System%20Variables%29.md) → [C](%28C%29.md) | | | | --- | --- | | Type | Integer | | Saved-in | Not-saved | | Initial value | 0 | | Range | 0、1 | Controls whether the 3D compass is on or off in the current viewport. 0 Turns off the 3D compass 1 Turns on the 3D compass --- ## Other versions with matching text [GstarCAD 2011](../../../2011/System%20Variables/C/COMPASS%20System%20Variable--0a412f2a95c8.md)