event.time

Type Number
Event lateUpdate
Revision Release 2022.3683
Keywords lateUpdate, time

Overview

The time in milliseconds since the start of the application accessible by an lateUpdate event listener function (which is called on every frame, until the event listener is removed).

Example

function printTimeSinceStart( event )
    print (event.time/1000 .. " seconds since app started." )
end 
Runtime:addEventListener("lateUpdate", printTimeSinceStart)