Skip to main content

Time

Notes


This class cannot be created. Do not instantiate, will throw an error.

Class Methods


deltaTime()​

Returns the time in seconds since the last frame.

Returns: Time since last frame

Return Type: float

time()​

Returns the time in seconds since the game started.

Returns: Time since game started

Return Type: float