play

open override fun play(positionInput: Double?)

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

positionInput

An optional position to seek to before toggling play/stop. If null, toggles playback from the current position.