Difference between revisions of "MovieClip:gotoAndStop"

From GiderosMobile
m (Text replacement - "<source" to "<syntaxhighlight")
Line 5: Line 5:
 
=== Description ===
 
=== Description ===
 
Goes to the specified frame and stops.
 
Goes to the specified frame and stops.
<source lang="lua">
+
<syntaxhighlight lang="lua">
 
MovieClip:gotoAndStop(frame)
 
MovieClip:gotoAndStop(frame)
 
</source>
 
</source>

Revision as of 15:28, 13 July 2023

Available since: Gideros 2011.6
Class: MovieClip

Description

Goes to the specified frame and stops. <syntaxhighlight lang="lua"> MovieClip:gotoAndStop(frame) </source>

Parameters

frame: (int) the frame number