# Editor.GameMode

Registers a widget with the input system to use SDL and manages
inputs and focus as it relates to the editor's game widget.

- Kind: class
- Namespace: `Editor`
- Assembly: `Sandbox.Tools`
- Modifiers: static, abstract, sealed

## Methods

- [`ClearPlayMode`](/api/Editor.GameMode/ClearPlayMode)
- [`SetPlayWidget`](/api/Editor.GameMode/SetPlayWidget): Given a widget, register it for SDL input, and tell the engine this is the swapchain we have
