# gridSnapEnabled

> Gets or sets whether grid snapping is enabled.

## Definition

* **Type:** Property
* **Namespace:** [UnityEditor](/engine/6000.5/script-reference/unityeditor.md)
* **Assembly:** UnityEditor.CoreModule

```csharp
public static bool gridSnapEnabled { get; set; }
```

### Remarks

When enabled, grid snapping will snap the translate handle to the nearest point on the [SceneView](/engine/6000.5/script-reference/unityeditor/sceneview.md) grid when the Tool Handle Rotation is set to "Global".
