lovr.timer.sleep
EditSleeps the application for a specified number of seconds. While the game is asleep, no code will be run, no graphics will be drawn, and the window will be unresponsive.
lovr.timer.sleep(duration)
Arguments
Name | Type | Description |
duration | number | The number of seconds to sleep for. |
Returns
Nothing