MovieClip:gotoAndPlay

From GiderosMobile
Revision as of 14:28, 13 July 2023 by Hgy29 (talk | contribs) (Text replacement - "<source" to "<syntaxhighlight")

Available since: Gideros 2011.6
Class: MovieClip

Description

Goes to the specified frame and starts playing. <syntaxhighlight lang="lua"> MovieClip:gotoAndPlay(frame,reverse) </source>

Parameters

frame: (int) the frame number
reverse: (boolean) indicates to play backwards