lovr.timer.sleep

Edit

Sleeps 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

NameTypeDescription
durationnumber The number of seconds to sleep for.

Returns

Nothing

See also