# Sandbox.WebSurface.TellKey

```csharp
void TellKey(uint virtualKeyCode, KeyboardModifiers modifiers, bool state)
```

Tell the browser a key has been pressed or released

### Parameters

- `virtualKeyCode` (`uint`)
- `modifiers` (`KeyboardModifiers`)
- `state` (`bool`)

Declared in [Sandbox.WebSurface](/api/Sandbox.WebSurface).
Assembly: `Sandbox.Engine`.
