Difference between revisions of "Timer:getRepeatCount"

From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2011.6<br/> === Description === <br /> Returns the number of repetitions the timer will make. A value of 0 means the timer runs infini...")
 
Line 6: Line 6:
 
<br />
 
<br />
 
<source lang="lua">
 
<source lang="lua">
(number), = Timer:getRepeatCount()
+
(number) = Timer:getRepeatCount()
 
</source>
 
</source>
 
'''Returns''' (number) The number of repetitions.<br/>
 
'''Returns''' (number) The number of repetitions.<br/>

Revision as of 10:16, 23 August 2018

Available since: Gideros 2011.6

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()

Returns (number) The number of repetitions.