# Editor.EditorShortcuts

- Kind: class
- Namespace: `Editor`
- Assembly: `Sandbox.Tools`
- Modifiers: static, abstract, sealed

## Fields

- [`Entries`](/api/Editor.EditorShortcuts/Entries)

## Properties

- [`AllowShortcuts`](/api/Editor.EditorShortcuts/AllowShortcuts): Disables shortcut invocations when set to false. Used when first-person controlling the scene view camera, since shortcuts overlap with the camera movement keys. This is automatically reset to true after a short delay.
- [`PassShortcut`](/api/Editor.EditorShortcuts/PassShortcut): Set this to true in a shortcut method to indicate the shortcut should not be consumed, allowing other shortcuts with the same key binding to be tried.

## Methods

- [`GetDefaultKeys`](/api/Editor.EditorShortcuts/GetDefaultKeys): Returns the default keybind for a given identifier
- [`GetDisplayKeys`](/api/Editor.EditorShortcuts/GetDisplayKeys): Returns the pretty key hint for a given identifier
- [`GetKeys`](/api/Editor.EditorShortcuts/GetKeys): Returns the keybind for a given identifier
- [`IsDown`](/api/Editor.EditorShortcuts/IsDown): Returns whether a given shortcut is currently being held down
- [`ReleaseAll`](/api/Editor.EditorShortcuts/ReleaseAll)
