love.focus

Available since LÖVE 0.7.0
It is not supported in earlier versions.


Callback function triggered when window receives or loses focus.

Function

Synopsis

love.focus(f)

Arguments

boolean f
Window focus

Returns

Nothing.

See Also