stat(name: string, value: any) is useful for logging values to the screen. You can throw any value at it and it will be displayed in the top right corner of the screen.

Stat graph

Use statGraph to chart out a changing value


time can be used to start and stop timers for performance testing. The resulting duration is in milliseconds.