Skip to content

TweenOptions

Options of engine.tween.

optional ease?: Ease | "linear" | "quadIn" | "quadOut" | "quadInOut" | "cubicOut" | "sineInOut" | "backOut" | "elasticOut" | "bounceOut"

An EASE name (‘quadOut’ by default, ‘backOut’, ‘linear’, …) or a function of 0–1.


optional delay?: number

Seconds before it starts; the start values are read then.


optional onUpdate?: (k) => void

Called every step with the eased progress, 0–1.

number

void