How to get the difference in time between this tick and last tick

i tried diff and deltaTime but they throw a reference error

@thepaperpilot you got any ideas?

It doesn’t get stored in a variable, but it’s passed to each layer’s update function, and devs typically only need it within that function (to add points etc. based on time passed). Is that sufficient for you?