event.count

Type String
Event timer
Revision 2017.3060
Keywords timer, count
See also timer

Overview

The number of times that the timer has fired the listener. This is useful if you registered the timer to fire multiple times.

Example

local function listener( event )
    print( event.count )
end

timer.performWithDelay( 1000, listener )