Difference between revisions of "Timer:getCurrentCount"

From GiderosMobile
Line 3: Line 3:
 
=== Description ===
 
=== Description ===
 
<translate><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 [[Special:MyLanguage/repeatCount|repeatCount]] value, timer stops.<br />
 
<br /></translate>
 
<br /></translate>
 
<source lang="lua">
 
<source lang="lua">

Revision as of 17:33, 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.