Difference between revisions of "Timer:getCurrentCount"
From GiderosMobile
| m (Text replacement - "<source" to "<syntaxhighlight") | |||
| Line 7: | Line 7: | ||
| 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> | ||
| − | < | + | <syntaxhighlight lang="lua"> | 
| (number) = Timer:getCurrentCount() | (number) = Timer:getCurrentCount() | ||
| </source> | </source> | ||
Revision as of 14:31, 13 July 2023
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.
<syntaxhighlight lang="lua">
(number) = Timer:getCurrentCount()
</source>
Return values
Returns (number) The current repeat count.
