# Sandbox.WebSurface.HasKeyFocus

```csharp
bool HasKeyFocus { get; set; }
```

Tell the html control if it has key focus currently, controls showing the I-beam cursor in text controls amongst other things

Declared in [Sandbox.WebSurface](/api/Sandbox.WebSurface).
Assembly: `Sandbox.Engine`.
