# ORTHO Command
[GstarCAD 2012](../../Index.md) → [Commands](../%28Commands%29.md) → [O](%28O%29.md)
**Function Description:**
> Constrain cursor movement to the horizontal or vertical direction.
**Command Entry:**
> ORTHO
Command Prompt:
> After you enter ORTHO at Command line.
>
> When system variable ORTHOMODE is 1, the following Command prompt is
> displayed:
>
> ORTHOMODE is currently on: \[OFF/Toggle/On\]\<On\>: Enter off or t or press ENTER.
>
> When system variable ORTHOMODE is inactive state namely:
> ORTHOMODE value is 0, the following Command prompt is displayed:
>
> ORTHOMODE is currently off: \[ON/Toggle/Off\]\<Off\>: Enter on or t or press ENTER.
>
> Ortho mode is used when you specify an angle or distance by means of two points using a pointing device. In Ortho mode, cursor movement is constrained to the horizontal or vertical direction relative to the UCS.
## Other versions with matching text
[GstarCAD 2011](../../../2011/Commands/O/ORTHO%20Command--8e762e0d4e60.md)