play_scene
Play a scene in Godot's editor and have property writes (camera pose, debug flags) applied automatically at game connect, so you don't reapply them after each restart.
Instructions
Play a scene in the editor. 'scene' (res://) plays a specific scene; current=true plays the open scene; otherwise the project's main scene. Then wait_until condition=play_started, and logs_read for errors. on_ready=[{path|class|name, property, value}, ...] queues runtime writes that are applied automatically the moment the new game connects â the restart boundary batch_execute cannot cross. Use it to restore camera pose, debug flags or spawn state in ONE call instead of re-issuing them after every restart; wait_until condition=game_connected then reports whether each one landed. Writes whose target is still spawning are retried for a few seconds, then reported as failures rather than dropped.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scene | No | res:// path; omit for main/current | |
| current | No | ||
| on_ready | No | property writes applied once the game connects: [{path, property, value}, ...] (path may be a name/class selector, same as runtime_set_property) |