Difference between revisions of "Timer:getCurrentCount"

From GiderosMobile
Line 4: Line 4:
 
=== <translate>Description</translate> ===
 
=== <translate>Description</translate> ===
 
<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 ''repeatCount'' value, timer stops.<br />
 
<br /></translate>
 
<br /></translate>
 
<source lang="lua">
 
<source lang="lua">

Revision as of 09:35, 24 August 2018

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.