PropertyAnimation
Plays keyframed numbers onto this node and its children: a door's slide, a light's flicker, a menu's fade. Unlike an Animated Sprite it never touches a picture, only whatever property its .propanim clip names.
On this page
Add it
+ Add node → Property Animation creates a node with it already on. Already have a node for it? Add component → PropertyAnimationComponent.
From a script
A script on the same node writes these fields by name. PropertyAnimationComponent is the name to pass.
rgs
set_text("PropertyAnimationComponent", "clip", "");
set_flag("PropertyAnimationComponent", "playing", false);
set_number("PropertyAnimationComponent", "speed", 1.0); Fields
| Field | Script name | Kind | Default | What it does |
|---|---|---|---|---|
| Clips | clips | asset | none | The .propanim asset this node plays. |
| Clip | clip | text | empty | Which clip is playing, by name. |
| Playing | playing | checkbox | off | Whether the playhead advances. |
| Speed | speed | number, step 0.05 | 1 | Playback rate. Negative plays backwards. |
| Looping | looping | one of AsAuthored, Once, Loop, PingPong | AsAuthored | Override the clip's own loop mode for this node only. |