Difference between revisions of "MovieClip:getFrame"

From GiderosMobile
m (Text replacement - "<source" to "<syntaxhighlight")
Line 5: Line 5:
 
=== Description ===
 
=== Description ===
 
Returns the current frame of the MovieClip.
 
Returns the current frame of the MovieClip.
<source lang="lua">
+
<syntaxhighlight lang="lua">
 
(number) = MovieClip:getFrame()
 
(number) = MovieClip:getFrame()
 
</source>
 
</source>

Revision as of 14:28, 13 July 2023

Available since: Gideros 2011.6
Class: MovieClip

Description

Returns the current frame of the MovieClip. <syntaxhighlight lang="lua"> (number) = MovieClip:getFrame() </source>

Return values

Returns (number) the current frame number