W3cubDocs

/LÖVE

love.window.close

Available since LÖVE 0.10.0
This function is not supported in earlier versions.

Closes the window. It can be reopened with love.window.setMode.

love.graphics functions and objects will cause a hard crash of LÖVE if used while the window is closed.

Function

Synopsis

love.window.close( )

Arguments

None.

Returns

Nothing.

See Also

© 2006–2016 LÖVE Development Team
Licensed under the GNU Free Documentation License, Version 1.3.
https://love2d.org/wiki/love.window.close