but when I try to make they delay function a world:update() it says delay is nil. I think this is cause timer doesn't know what world is? Here's the code:
Solved this one. Other tweaks aside, in this format, it needs to be surrounded by function() end. In other words: Timer.during(1, function() world:update(player, x, y + 1) end, etc. Also, had to include delta time (dt) to get what I was trying to do to work, but that's another issue.