Difference between revisions of "Timer:getCurrentCount"

From GiderosMobile
m (Text replacement - "<source" to "<syntaxhighlight")
m (Text replacement - "</source>" to "</syntaxhighlight>")
 
Line 9: Line 9:
 
<syntaxhighlight lang="lua">
 
<syntaxhighlight lang="lua">
 
(number) = Timer:getCurrentCount()
 
(number) = Timer:getCurrentCount()
</source>
+
</syntaxhighlight>
 
=== <translate>Return values</translate> ===
 
=== <translate>Return values</translate> ===
 
'''<translate>Returns</translate>''' (number) <translate>The current repeat count.</translate><br/>
 
'''<translate>Returns</translate>''' (number) <translate>The current repeat count.</translate><br/>
  
 
{{Timer}}
 
{{Timer}}

Latest revision as of 15:33, 13 July 2023


Available since: Gideros 2011.6
Class: Timer

Description


Returns the current trigger count of the timer. It starts with 0 and if it reaches repeatCount value, timer stops.

(number) = Timer:getCurrentCount()

Return values

Returns (number) The current repeat count.