Type Function Object SpriteObject Library display.* Return value none Revision Current Public Release (2017.3068) Keywords sprite, setFrame See also display.newSprite()
Sets the frame in the currently loaded sequence.
object:setFrame( frameIndex )
Number. The frame index in the currently loaded sequence you want to be shown. In a sprite sequence,
1 indicates the first frame