play
Begins playing the animation.
If you want to start playing the animation from a specific position, pass a value from 0 to 1 to the play() method where 0 is the beginning of the animation and 1 is the end. For example, use play(0.5) to start playback halfway through the animation.
Parameters
position Input
An optional position to seek to before toggling play/stop. If null, toggles playback from the current position.
Begins playing the animation. If the animation is currently paused, it will restart playback from the beginning.
Parameters
position
The position to start the animation at, as a value between
0and1, where0is the beginning of the animation and1is the end. Defaults to0.