# Editor.ShortcutContext

Scope of the shortcut. Requires focus at this level for the shortcut to be active.
Defaults to [Editor.ShortcutContext.WindowShortcut](/api/Editor.ShortcutContext/WindowShortcut).

- Kind: enum
- Namespace: `Editor`
- Assembly: `Sandbox.Tools`
- Modifiers: sealed

## Fields

- [`ApplicationShortcut`](/api/Editor.ShortcutContext/ApplicationShortcut): Shortcut is only active when one of the application windows is focused.
- [`WidgetShortcut`](/api/Editor.ShortcutContext/WidgetShortcut): Shortcut is only active when the parent widget is focused.
- [`WidgetWithChildrenShortcut`](/api/Editor.ShortcutContext/WidgetWithChildrenShortcut): Shortcut is only active when the parent widget, or a child of the parent widget, is focused.
- [`WindowShortcut`](/api/Editor.ShortcutContext/WindowShortcut): Shortcut is only active when the window of the parent widget is focused.
