Timer:getCurrentCount: Difference between revisions

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..."
 
No edit summary
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 09: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.