I found refrenced to dt (delta time). But I can't work out how to use it.
I'd like to calculate how much time has elapsed between a sprite being created and the left click of a mouse.
Develop games in your browser. Powerful, performant & highly capable.
Don't use dt for that, just store the 'time' expression in each event, then subtract them to get the seconds difference.