Type Number Event enterFrame Revision Release 2024.3703 Keywords enterframe, time See also Runtime:getFrameStartTime()
The time in milliseconds since the start of the application accessible by an enterFrame event listener function (which is called on every frame, until the event listener is removed).
function printTimeSinceStart( event ) print (event.time/1000 .. " seconds since app started." ) end Runtime:addEventListener("enterFrame", printTimeSinceStart)