# OSMODE System Variable
[GstarCAD 2015](../../Index.md) → [System Variables](../%28System%20Variables%29.md) → [O](%28O%29.md)
| | |
| --- | --- |
| Type | Integer |
| Saved-in | Drawing |
| Initial value | 0 |
| Range | 0-32767 |
Sets running object snaps. The setting is stored as a bitcode using the sum of the following values:
0 \=NONe
1 \=ENDpoint
2 \=MIDpoint
4 \=CENter
8 \=NODe
16 \=QUAdrant
32 \=INTersection
64 \=INSertion
128 \=PERpendicular
256 \=TANgent
512 \=NEArest
1024 \=Clears all object snaps
4096 \=EXTension
To specify more than one object snap, enter the sum of their values. For example, entering 7 specifies the Endpoint (1), Midpoint (2) and Center(4) object snaps. Entering 16383 enables all object snaps.
---
## Other versions with matching text
[GstarCAD 8 (2013–2014)](../../../2013/System%20Variables/O/OSMODE%20System%20Variable.md)