lovr.headset.isFocused

Edit

Returns whether LÖVR has VR input focus. Focus is lost when the VR system menu is shown. The lovr.focus callback can be used to detect when this changes.

focused = lovr.headset.isFocused()

Arguments

None

Returns

NameTypeDescription
focusedboolean Whether the application is focused.

See also