Optionaloptions: Partial<AnimatorOptions>The animation to play.
The animations to play.
The current frame of the animation.
The current time of the animation.
TRUE If the animation should ignore the time scale, FALSE otherwise.
TRUE If the animation is playing, FALSE otherwise.
TRUE If the animation should reset to the first frame when the animation is stopped, FALSE otherwise.
The speed of the animation.
The Animator component manages sprite animations. It holds a map of named animations and controls which animation is currently playing, its speed, and playback state.
Example