MovieClip:gotoAndPlay: Difference between revisions

From GiderosMobile
m Text replacement - "<source" to "<syntaxhighlight"
m Text replacement - "</source>" to "</syntaxhighlight>"
 
Line 7: Line 7:
<syntaxhighlight lang="lua">
<syntaxhighlight lang="lua">
MovieClip:gotoAndPlay(frame,reverse)
MovieClip:gotoAndPlay(frame,reverse)
</source>
</syntaxhighlight>


=== Parameters ===
=== Parameters ===

Latest revision as of 13:30, 13 July 2023

Available since: Gideros 2011.6
Class: MovieClip

Description

Goes to the specified frame and starts playing.

MovieClip:gotoAndPlay(frame,reverse)

Parameters

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