W3cubDocs

/LÖVE

love.visible

Available since LÖVE 0.9.0
This callback is not supported in earlier versions.

Callback function triggered when window is minimized/hidden or unminimized by the user.

Function

Synopsis

love.visible( visible )

Arguments

boolean visible
True if the window is visible, false if it isn't.

Returns

Nothing.

Example

function love.visible(v)
    print(v and "Window is visible!" or "Window is not visible!");
end

See Also


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