Skip to content
简体中文

Run coroutines in Godot ​

After a node is ready, call this.RunCoroutine(...) to start a flow owned by the node. Leaving the tree requests cancellation. Keep the handle to observe completion or stop the coroutine.

StageEngine timing
UpdateGodot frame processing
FixedUpdateGodot physics processing
DeferredGodot deferred callback

Wait explicitly for the next stage when a flow crosses phases. Schedule native node work at the stage it needs. See the coroutine example.

Apache License 2.0