Timer:getRepeatCount

From GiderosMobile
Revision as of 15:31, 13 July 2023 by Hgy29 (talk | contribs) (Text replacement - "<source" to "<syntaxhighlight")


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.

<syntaxhighlight lang="lua"> (number) = Timer:getRepeatCount() </source>

Return values

Returns (number) The number of repetitions.