Difference between revisions of "Timer:getRepeatCount"
From GiderosMobile
m (Text replacement - "<source" to "<syntaxhighlight") |
m (Text replacement - "</source>" to "</syntaxhighlight>") |
||
Line 9: | Line 9: | ||
<syntaxhighlight lang="lua"> | <syntaxhighlight lang="lua"> | ||
(number) = Timer:getRepeatCount() | (number) = Timer:getRepeatCount() | ||
− | </ | + | </syntaxhighlight> |
=== <translate>Return values</translate> === | === <translate>Return values</translate> === | ||
'''<translate>Returns</translate>''' (number) <translate>The number of repetitions.</translate><br/> | '''<translate>Returns</translate>''' (number) <translate>The number of repetitions.</translate><br/> | ||
{{Timer}} | {{Timer}} |
Revision as of 14:33, 13 July 2023
Available since: Gideros 2011.6
Class: Timer
Description
Returns the number of repetitions the timer will make. A value of 0 means the timer runs infinitely. If nonzero, the timer runs the specified number of times and then stops.
(number) = Timer:getRepeatCount()
Return values
Returns (number) The number of repetitions.