# play.input

> Talos next · Since next

Press input-map actions through their bound keys, as the player's keyboard does.

Each is held "frames" ticks (a paused world stays paused), then released; "held" keeps it down until "release", [0, 0] or Play stops. Partial or keyless axis values are held as analog; a keyless button by its mouse button (own Play: by name). A key the top screen takes: consumedByUi: true. Unbound names: "unbound".

| | |
|---|---|
| Title | Press an action |
| Mode | `editor` |
| Token cost | about 404 tokens (in the default list, paid on every call) |
| Toolset | core |

## Arguments

| Argument | Type | Required | Default | Allowed values | Description |
|---|---|---|---|---|---|
| `actions` | `object[]` | yes |  |  | Applied in order on the next tick |
| `agent` | `string` | no |  |  | The name of the agent making the call, when several agents share one connection: each named agent is its own actor and plays its own game. Leave it out when there is one agent. |

## Example

An MCP `tools/call` with the required arguments (placeholders in angle brackets).

```json
{
  "name": "play.input",
  "arguments": {
    "actions": []
  }
}
```
