pause

fun pause()

Pauses the animation.