Available with spine plugin
anim:String
The animation to play
@:value(null)skin:Null<String> = null
The skin to use
@:value(null)loop:Null<Bool> = null
Whether the animation is looping or not
@:value(0)time:Float = 0
Start the animation on this given track position relative to track duration (0: beginning of track, 1: end of track)
0
1
@:value(-1)speed:Float = -1
The time scale of this animation. (default: 1.0, double speed: 2.0, half speed: 0.5 etc...)
1.0
2.0
0.5
@:value(-1)track:Int = -1
The track index to apply the animation on.
@:value(null)next:T = null
Auto-play an animation after this one has finished.
@:value(null)begin:() ‑> Void = null
Begin callback. Called when this animation begins
@:value(null)complete:() ‑> Void = null
Complete callback. Called when this animation completes