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...")
 
 
(12 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
 
'''Available since:''' Gideros 2011.6<br/>
 
'''Available since:''' Gideros 2011.6<br/>
 +
'''Class:''' [[Timer]]<br/>
 +
 
=== Description ===
 
=== Description ===
<br />
+
Returns the current trigger count of the timer. It starts with 0 and if it reaches ''repeatCount'' value, timer stops.
Returns the current trigger count of the timer. It starts with 0 and if it reaches `repeatCount` value, timer stops.<br />
+
<syntaxhighlight lang="lua">
<br />
+
(number) = Timer:getCurrentCount()
<source lang="lua">
+
</syntaxhighlight>
(number), = Timer:getCurrentCount()
+
 
</source>
+
=== Return values ===
'''Returns''' (number) The current repeat count.<br/>
+
'''Returns''' (number) the current repeat count<br/>
 +
 
 +
{{Timer}}

Latest revision as of 22:35, 24 August 2024

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