Skip to content

Time

Time.sleep(ms: int)

Sleep for the given number of milliseconds.

wyn
Time.sleep(1000)    // sleep 1 second
Time.sleep(500)     // sleep 500ms

See Also

  • DateTime — timestamps, formatting, date arithmetic

MIT License