Type String Event enterFrame Revision Release 2022.3683 Keywords enterFrame, name
The value of event.name
is "enterFrame"
when used with the Runtime:addEventListener() method to call the event listener function every frame.
local function myListener( event ) print( "Listener called with event of type " .. event.name ) end Runtime:addEventListener( "enterFrame", myListener )