I am confused as to how to use the timer.delay function. I know the first parameter is the number of seconds of delay; the second is whether it should be repeated; the third is a callback function used after the timer has run down. By my understanding a callback is another function as a parameter. The page on the defold website, though, gives a function with arguments already inserted
callback function(self, handle, time_elapsed) timer callback function
I am trying to use the timer.delay function like
timer.delay(5, false, pr(self, "handle", "2"))
with
function pr()
print("Function activated")