as I can record the time it takes for a player to move from one level to another.
and if I have 10 levels, have the time myself level by level
Develop games in your browser. Powerful, performant & highly capable.
Get time whenever you start a level and get it again when you end it, then simply substract. That's your time in milliseconds.
See the manual for system expressions to help you with.