# Sandbox.Input.SetAction

```csharp
static void SetAction(string action, bool down)
```

### Parameters

- `action` (`string`)
- `down` (`bool`)

Declared in [Sandbox.Input](/api/Sandbox.Input).
Assembly: `Sandbox.Engine`.
