pub fn sleep(duration: Duration) -> Sleep ⓘ
Waits for duration of game time without holding up other tasks.
duration