# Editor.Widget.IsFocused

```csharp
bool IsFocused { get; set; }
```

Whether this widget has keyboard focus.

Declared in [Editor.Widget](/api/Editor.Widget).
Assembly: `Sandbox.Tools`.
