# ORTHOMODE System Variable [GstarCAD 2022](Help%20System/GSTARCAD/2022/Index.md) → [System Variables](Help%20System/GSTARCAD/2022/System%20Variables/(System%20Variables).md) → [O](Help%20System/GSTARCAD/2022/System%20Variables/O/(O).md) **Function Description:** The ORTHOMODE system variable is used to constrain cursor movement in perpendicular direction. | | | | --- | --- | | Type | Integer | | Saved in | Drawing | | Initial value | 0 | | Range | 0,1 | When the ORTHOMODE is on, the cursor can move horizontally and perpendicularly relative to UCS and current grid rotation angle. **System Variable Value:** **0:** turn ortho mode off **1:** turn ortho mode on