Difference between revisions of "Timer:getCurrentCount"

From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2011.6<br/> === Description === <br /> Returns the current trigger count of the timer. It starts with 0 and if it reaches `repeatCount...")
 
Line 6: Line 6:
 
<br />
 
<br />
 
<source lang="lua">
 
<source lang="lua">
(number), = Timer:getCurrentCount()
+
(number) = Timer:getCurrentCount()
 
</source>
 
</source>
 
'''Returns''' (number) The current repeat count.<br/>
 
'''Returns''' (number) The current repeat count.<br/>

Revision as of 10:17, 23 August 2018

Available since: Gideros 2011.6

Description


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

(number) = Timer:getCurrentCount()

Returns (number) The current repeat count.