Allowing animation to be paused.