lovr.headset.isFocused
EditReturns 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
| Name | Type | Description |
| focused | boolean | Whether the application is focused. |