Timer:getCurrentCount: Difference between revisions

From GiderosMobile
No edit summary
No edit summary
Line 2: Line 2:
'''Available since:''' Gideros 2011.6<br/>
'''Available since:''' Gideros 2011.6<br/>
=== Description ===
=== Description ===
<br />
<translate><br />
Returns the current trigger count of the timer. It starts with 0 and if it reaches `repeatCount` value, timer stops.<br />
Returns the current trigger count of the timer. It starts with 0 and if it reaches [[[repeatCount]]] value, timer stops.<br />
<br />
<br /></translate>
<source lang="lua">
<source lang="lua">
(number) = Timer:getCurrentCount()
(number) = Timer:getCurrentCount()
</source>
</source>
=== Return values ===
=== Return values ===
'''Returns''' (number) The current repeat count.<br/>
'''Returns''' (number) <translate>The current repeat count.</translate><br/>

Revision as of 12:38, 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()

Return values

Returns (number) The current repeat count.