# Editor.Widget.FocusMode

```csharp
FocusMode FocusMode { get; set; }
```

Sets the focus mode for this widget. This determines both how it will get focus and whether it will receive keyboard input.

Declared in [Editor.Widget](/api/Editor.Widget).
Assembly: `Sandbox.Tools`.
