lovr.system.isWindowFocused

Edit

Returns whether the desktop window is focused.

focused = lovr.system.isWindowFocused()

Arguments

None

Returns

NameTypeDescription
focusedboolean Whether the desktop window is focused.

See also