# Sandbox.Connection.Pressed

```csharp
bool Pressed(string action)
```

Action was pressed for this [Sandbox.Connection](/api/Sandbox.Connection) within the current update context.

### Parameters

- `action` (`string`)

### Returns

`bool`

Declared in [Sandbox.Connection](/api/Sandbox.Connection).
Assembly: `Sandbox.Engine`.
