This class manages tween animations, allowing smooth transitions over time.

See also:

Static methods

@:value({ duration : 1.0 })statictween(duration:Float = 1.0, onTick:Float ‑> Void):Actuator

Creates a tween animation.

Parameters:

duration

The duration of the tween in seconds.

onTick

A callback function that is called every frame with a progress value (0 to 1).

Returns:

The created Actuator instance.