Playing, pausing, and stopping animation segments

If left alone, the animation segments will be played until there is nothing left in the queue to play (meaning if there is a looped or metronome segment, it will stay on that segment).

But you can move to the next animation:

Animation.next()

Or you can pause the current segment:

Animation.pause()

Start it up again:

Animation.play()

Or stop the current segment and clear out the entire queue:

Animation.stop()

Let's use these, along with the REPL, to play with our animation and our new-found powers to manipulate it.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.129.210.17