The animation plugin (tweens/timelines) is not related to frame-basedsprite animation. If you are looking for details on how to animate sprite objects, please see the Sprite Animation guide.

Overview

The animation plugin provides functions and methods to move, rotate, fade, or scale a display object/group over a specific period of time. It also lets you construct timelines for more intricate sequenced animations across one or more display objects/groups. Features include:

Ability to move, rotate, fade, or scale a display object/group over a specific period of time.

Ability to construct and control timelines for intricate multi-interpolation animations.

Over 40 easing methods. These allow you to adjust the interpolation using methods such as quadratic, exponential, elastic, bounce, etc.

Programmatically move/set the playback position within a tween or timeline.

Programmatically adjust the playback speed scale of any tween or timeline.

Repeat (iterate) a tween any number of times (or indefinitely) with the option to reflect alternating iterations in reverse.

Ability to interpolate multiple objects at a constant rate, even if they don't share the same initial/final position, rotation, alpha, or scale.