editor_play_mode
Starts, stops, pauses, or resumes play mode in the live Flax Editor and waits until the requested state is reached, including heavy scene loads.
Instructions
Controls play mode in the live Flax Editor. Action must be start, stop, pause, or resume. Returns when the editor has reached the requested state (up to 30 seconds, so a heavy scene can load).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Play mode action: start, stop, pause, or resume. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| isPaused | Yes | ||
| isPlayMode | Yes | ||
| mainThreadId | Yes | ||
| requestedAction | Yes |