Studio

play(...)

play(speed?: number, loop?: boolean): this;

Start playback of the timeline.

Parameters

Parameter Type Description
speed optional, number Rate at which to play the timeline. A value of 1 means it will play at a t of 1 per ms. Use negative values to play the timeline in reverse.
loop optional, boolean Whether to loop the timeline when it reaches the end (or the beginning if playing in reverse). If not specified here then the value set in ZapWorks Studio for this timeline will be used.

Returns

this

Open in new window