Skip to main content

Tick

tick

Returns the number of times the game loop has executed so far.

turbo::canvas
tick() -> usize

Get the current game loop "tick"

let t = tick();