Get Event.time on Object.enterFrame = (Name of Runtime Function)

Good Day I was wondering how can I get the event.time if my runtime is declared on a table like this:

local Animation = function(event) --foo print(event.time) -- Right now is nil end local Object = display.newRect(0,0,0,0) Object.enterFrame = Animation Runtime:addEventListener("enterFrame",Object)

Many events have 

event.time

 fields in them, but when they don’t, just use:

system.getTimer()

Thanks! Really Helped alot! :slight_smile:

Many events have 

event.time

 fields in them, but when they don’t, just use:

system.getTimer()

Thanks! Really Helped alot! :slight_smile: