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