# Sandbox.Input.Keyboard.Pressed

```csharp
static bool Pressed(string keyName)
```

Keyboard key wasn't pressed but now it is

### Parameters

- `keyName` (`string`)

### Returns

`bool`

Declared in [Sandbox.Input.Keyboard](/api/Sandbox.Input.Keyboard).
Assembly: `Sandbox.Engine`.
