Type Function Object SpriteObject Library display.* Return value none Revision Release 2024.3703 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()