# Sandbox.Connection.KeyPressed

```csharp
bool KeyPressed(System.ReadOnlySpan<string> keys)
```

### Parameters

- `keys` (`System.ReadOnlySpan<string>`)

### Returns

`bool`

Declared in [Sandbox.Connection](/api/Sandbox.Connection).
Assembly: `Sandbox.Engine`.
