Sets the currently visible frame of the texture. Setting this frame while playing resets the current frame time, so the newly selected frame plays for its whole configured frame duration.
set getint frames<>():int set get
Number of frames to use in the animation. While you can create the frames independently with set_frame_texture, you need to set this value for the animation to take new frames into account. The maximum number of frames is MAX_FRAMES.
set getbool one_shot<>():bool set get
If true, the animation will only play once and will not loop back to the first frame after reaching the end. Note that reaching the end will not set pause to true.
set getbool pause<>():bool set get
If true, the animation will pause where it currently is (i.e. at current_frame). The animation will continue from where it was paused when changing this property to false.
set getbool resource_local_to_scene<>():bool set get set getfloat speed_scale<>():float set get
The animation speed is multiplied by this value. If set to a negative value, the animation is played in reverse.