When you need to run an animation to respond to an event, you'd typically want it to run immediately. To avoid waiting for other animations to finish, make sure add the stop all animations block. This block stops the current animation and clears the animation queue.
In the example below, we want to run the
Sparkle animation as soon as a
shake event is detected. To do so, we add a stop all animations block before the
show animation block.