# EditorSnapSettings

> Control the behavior of handle snapping in the editor.

## Definition

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

```csharp
public static class EditorSnapSettings
```

## Static Properties

| Property                                                                                                         | Description                                                                |
| ---------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------- |
| [angleSnapEnabled](/engine/6000.5/script-reference/unityeditor/editorsnapsettings/anglesnapenabled.md)           | Gets or sets the enabled or disabled status of incremental angle snapping. |
| [gridPosition](/engine/6000.5/script-reference/unityeditor/editorsnapsettings/gridposition.md)                   | Gets or sets the position of the grid.                                     |
| [gridRotation](/engine/6000.5/script-reference/unityeditor/editorsnapsettings/gridrotation.md)                   | Gets or sets the rotation of the grid.                                     |
| [gridSize](/engine/6000.5/script-reference/unityeditor/editorsnapsettings/gridsize.md)                           | Gets or sets the grid size used for snapping.                              |
| [gridSnapActive](/engine/6000.5/script-reference/unityeditor/editorsnapsettings/gridsnapactive.md)               | Gets whether grid snapping is active.                                      |
| [gridSnapEnabled](/engine/6000.5/script-reference/unityeditor/editorsnapsettings/gridsnapenabled.md)             | Gets or sets whether grid snapping is enabled.                             |
| [incrementalSnapActive](/engine/6000.5/script-reference/unityeditor/editorsnapsettings/incrementalsnapactive.md) | Gets whether increment snapping is active.                                 |
| [move](/engine/6000.5/script-reference/unityeditor/editorsnapsettings/move.md)                                   | Gets or sets the increment that translation handles snap to.               |
| [rotate](/engine/6000.5/script-reference/unityeditor/editorsnapsettings/rotate.md)                               | Gets or sets the increment that rotation handles snap to.                  |
| [scale](/engine/6000.5/script-reference/unityeditor/editorsnapsettings/scale.md)                                 | Gets or sets the increment value that the scale handles snap to.           |
| [scaleSnapEnabled](/engine/6000.5/script-reference/unityeditor/editorsnapsettings/scalesnapenabled.md)           | Gets or sets the enabled or disabled status of incremental scale snapping. |
| [snapEnabled](/engine/6000.5/script-reference/unityeditor/editorsnapsettings/snapenabled.md)                     | Gets or sets whether snapping is enabled.                                  |

## Static Methods

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

## Static Events

| Member                                                                                                               | Description                                                                                                                                                                       |
| -------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [angleSnapEnabledChanged](/engine/6000.5/script-reference/unityeditor/editorsnapsettings/anglesnapenabledchanged.md) | A callback that is triggered when the `angleSnapEnabled` value changes.                                                                                                           |
| [gridSnapEnabledChanged](/engine/6000.5/script-reference/unityeditor/editorsnapsettings/gridsnapenabledchanged.md)   | Callback triggered when the  grid snap enabled value changes.                                                                                                                     |
| [scaleSnapEnabledChanged](/engine/6000.5/script-reference/unityeditor/editorsnapsettings/scalesnapenabledchanged.md) | A callback that is triggered when the `scaleSnapEnabled` value changes.                                                                                                           |
| [snapEnabledChanged](/engine/6000.5/script-reference/unityeditor/editorsnapsettings/snapenabledchanged.md)           | Calls the methods in its invocation list when the [EditorSnapSettings.snapEnabled](/engine/6000.5/script-reference/unityeditor/editorsnapsettings/snapenabled.md) value changes . |
