Extends Animation


An action animation is used to execute a instantaneous action at a point during an animation.

The Animation.Action element emits the animate event during the animation, which you can handle to execute the action.

event animate()

The animate event is triggered when the animation runs. Handle this event to perform the intended action.

Animation.Action {
    on animate {
        testRectangle.color = #blue;