Type String Event enterFrame Revision 2017.3060 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 )