# EditorSnapSettings

> Control the behavior of handle snapping in the editor.

## Definition

* **Type:** Class
* **Namespace:** [UnityEditor](/engine/6000.0/script-reference/unityeditor.md)
* **Assembly:** UnityEditor

```csharp
public static class EditorSnapSettings
```

## Static Properties

| Property                                                                                                         | Description                                                  |
| ---------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------ |
| [gridSize](/engine/6000.0/script-reference/unityeditor/editorsnapsettings/gridsize.md)                           | Gets or sets the grid size used for snapping.                |
| [gridSnapActive](/engine/6000.0/script-reference/unityeditor/editorsnapsettings/gridsnapactive.md)               | Gets whether grid snapping is active.                        |
| [gridSnapEnabled](/engine/6000.0/script-reference/unityeditor/editorsnapsettings/gridsnapenabled.md)             | Gets or sets whether grid snapping is enabled.               |
| [incrementalSnapActive](/engine/6000.0/script-reference/unityeditor/editorsnapsettings/incrementalsnapactive.md) | Gets whether increment snapping is active.                   |
| [move](/engine/6000.0/script-reference/unityeditor/editorsnapsettings/move.md)                                   | Gets or sets the increment that translation handles snap to. |
| [rotate](/engine/6000.0/script-reference/unityeditor/editorsnapsettings/rotate.md)                               | Gets or sets the increment that rotation handles snap to.    |
| [scale](/engine/6000.0/script-reference/unityeditor/editorsnapsettings/scale.md)                                 | Gets or sets the increment that scale handles snap to.       |
| [snapEnabled](/engine/6000.0/script-reference/unityeditor/editorsnapsettings/snapenabled.md)                     | Gets or sets whether snapping is enabled.                    |

## Static Methods

| Method                                                                                                   | Description                                   |
| -------------------------------------------------------------------------------------------------------- | --------------------------------------------- |
| [ResetSnapSettings](/engine/6000.0/script-reference/unityeditor/editorsnapsettings/resetsnapsettings.md) | Resets EditorSnap settings to default values. |

## Static Events

| Member                                                                                                             | Description                                                                                                                                                                       |
| ------------------------------------------------------------------------------------------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [gridSnapEnabledChanged](/engine/6000.0/script-reference/unityeditor/editorsnapsettings/gridsnapenabledchanged.md) | Callback triggered when the  grid snap enabled value changes.                                                                                                                     |
| [snapEnabledChanged](/engine/6000.0/script-reference/unityeditor/editorsnapsettings/snapenabledchanged.md)         | Calls the methods in its invocation list when the [EditorSnapSettings.snapEnabled](/engine/6000.0/script-reference/unityeditor/editorsnapsettings/snapenabled.md) value changes . |
