Difference between revisions of "SpineSprite:getSpeed"

From GiderosMobile
m (Text replacement - "<source" to "<syntaxhighlight")
m (Text replacement - "</source>" to "</syntaxhighlight>")
 
Line 7: Line 7:
 
<syntaxhighlight lang="lua">
 
<syntaxhighlight lang="lua">
 
(number) = SpineSprite:getSpeed()
 
(number) = SpineSprite:getSpeed()
</source>
+
</syntaxhighlight>
 
=== <translate>Return values</translate> ===
 
=== <translate>Return values</translate> ===
 
'''<translate>Returns</translate>''' (number) <translate>The current speed scale</translate><br/>
 
'''<translate>Returns</translate>''' (number) <translate>The current speed scale</translate><br/>

Latest revision as of 14:33, 13 July 2023


Available since: Gideros 2018.12
Class: SpineSprite

Description

Get current speed scale

(number) = SpineSprite:getSpeed()

Return values

Returns (number) The current speed scale