# SNAPGRIDLEGACY System Variable
[GstarCAD 2022](Help%20System/GSTARCAD/2022/Index.md) → [System Variables](Help%20System/GSTARCAD/2022/System%20Variables/(System%20Variables).md) → [S](Help%20System/GSTARCAD/2022/System%20Variables/S/(S).md)
**Function Description:**
The
SNAPGRIDLEGACY system variable is used to control whether
the cursor snaps to the snap grid only when an operation is in progress.
| | |
| --- | --- |
| Type | Integer |
| Saved in | Registry |
| Initial value | 0 |
| Range | 0,1 |
**System Variable Value:**
0: Makes the cursor snap to the snap grid only when SNAP is turned on, and an
operation is in progress
1: Makes the cursor snap to the snap grid at all times when SNAP is turned on