Table of Contents

Timer:setRepeatCount

Available since version: Gideros 2011.6

Description:

Sets 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.

Syntax:

Timer:setRepeatCount(repeatCount)

Parameters:

  • repeatCount: (number) the number of repetitions the timer will make