Skip to content

API Function sequence

github-actions[bot] edited this page Nov 24, 2026 · 1 revision

Function: sequence()

function sequence(...items): Tween;

Defined in: src/plugins/animation/runtime/api.ts:21

Play tweens (or groups) one after another, as one small timeline: await sequence(t1, parallel(t2, t3)). Pass tweens before they start.

Parameters

items

...Tween[]

Returns

Tween

Clone this wiki locally