pie_control
Control Play-In-Editor sessions: start with play or simulate mode, stop a running session, or query its state.
Instructions
Start / stop / query Play-In-Editor sessions. Closes the 'did my edit actually work?' loop — LLM can scaffold a gameplay change, trigger PIE, observe the running state, then stop. action=start with mode=play|simulate; action=stop tears down current session; action=query returns is_playing + is_simulating booleans.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | One of: start, stop, query. | |
| mode | No | Only used when action=start. 'play' (default) launches a full PIE session in the active viewport; 'simulate' ticks the world without spawning a Player Controller. |