Learned how to use the spacebar to pause and continue the animation