Runtime API

RuntimeContext is the mutable script window into scene nodes, signals, animation playback, physics, script calls, helper ids, and time.

Signals

Signals are global pub/sub messages between scripts. Emit by signal name and connect listener node methods without direct object references.

Physics

Physics helpers apply forces and impulses to rigid bodies and expose collision/area lifecycle signals.

Animation

Runtime animation helpers control AnimationPlayer nodes: set clips, bind tracks, play, pause, seek, and set playback speed.

Time

Time helpers expose frame delta and fixed-step timing for scripts.

Scripts

Runtime script helpers access typed self state, dynamic vars, and dynamic method calls across script boundaries.

Runtime Helpers

Helper macros construct stable ids, Variant values, params arrays, and tag lists for runtime APIs.