Skip to content

Wiggle API / GroupTransition

Interface: GroupTransition ​

A scheduled group motion: stagger its units and place its start.

Methods ​

after() ​

after(ref, gap?): GroupTransition

Start gap seconds after ref's motion begins (default 0).

Parameters ​

ref ​

Timed

gap? ​

Duration

Returns ​

GroupTransition


stagger() ​

stagger(step): GroupTransition

Offset each unit's motion by step seconds, in order.

Parameters ​

step ​

Duration

Returns ​

GroupTransition


with() ​

with(ref): GroupTransition

Start together with ref's motion.

Parameters ​

ref ​

Timed

Returns ​

GroupTransition