# Editor.Application.IsKeyDown

```csharp
static bool IsKeyDown(KeyCode code)
```

Returns whether or not a key is currently being held down.

### Parameters

- `code` (`KeyCode`)

### Returns

`bool`

Declared in [Editor.Application](/api/Editor.Application).
Assembly: `Sandbox.Tools`.
