play
fun play(animationNames: List<String>, loop: Loop = Loop.AUTO, direction: Direction = Direction.AUTO, areStateMachines: Boolean = false, settleInitialState: Boolean = true)
fun play(animationName: String, loop: Loop = Loop.AUTO, direction: Direction = Direction.AUTO, isStateMachine: Boolean = false, settleInitialState: Boolean = true)
fun play(loop: Loop = Loop.AUTO, direction: Direction = Direction.AUTO, settleInitialState: Boolean = true)
Restarts paused animations if there are any. Otherwise, it starts playing the first animation (timeline or state machine) in the Artboard.