Skip to content

play(...)

Studio is being deprecated, please head over to the documentation page for Mattercraft, our most advanced 3D tool for the web, where you can find the most recent information and tutorials.

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

Start playback of the timeline.

ParameterTypeDescription
speedoptional, numberRate 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.
loopoptional, booleanWhether 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.

this