Type Function Object SpriteObject Library display.* Return value none Revision 2017.3060 Keywords sprite, pause See also display.newSprite() object:setSequence() object:play()
Pauses the current animation, and frame remains on the currently shown frame. Playback can resume later with object:play().
object:pause()
spriteObj:setSequence( "running_man" ) spriteObj:play() -- some time later spriteObj:pause()