animation:pause() and animation:play()

I added a pause button and I’m using animations with sprite sheets. If I did animation:pause() how do I resume it? With animation:play()? Or will that just make it play again. Can someone please help me? Thanks a lot!

http://docs.coronalabs.com/api/type/SpriteObject/pause.html

API states:

Pauses the current animation, and frame remains on the currently shown frame. Playback can resume later with SpriteObject:play().

http://docs.coronalabs.com/api/type/SpriteObject/pause.html

API states:

Pauses the current animation, and frame remains on the currently shown frame. Playback can resume later with SpriteObject:play().