lovr.timer.sleep

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
durationnumberThe number of seconds to sleep for.

Returns

Nothing

See also