# OSMODE System Variable [GstarCAD 2012](../../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 3 specifies the Endpoint (bitcode 1\) and Midpoint (bitcode 2\) object snaps. Entering 16383 specifies all object snaps. --- ## Other versions with matching text [GstarCAD 2011](../../../2011/System%20Variables/O/OSMODE%20System%20Variable--6ae129da0383.md)