To stop an animation with KineticJS, we can use the stop() method. To restart the animation, we can again call the start().
Instructions:Click on "Start" to start the animation and "Stop" to stop the animation.
Code Editor
Modified on April 9th, 2013
by Eric Rowell