Skip to content

Enum

Enum.VRSessionState

The lifecycle state of the active VR session, as reported by the VRSessionState property of VRService.

Official docs ↗
ItemValueSummary
Enum.VRSessionState.Undefined0The VR session state is unknown or has not yet been established; the default value of VRSessionState.
Enum.VRSessionState.Idle1The VR headset is connected and ready but is not yet presenting frames to the user.
Enum.VRSessionState.Visible2The VR session is rendering frames visible to the user but does not yet have XR input focus; haptic feedback is available.
Enum.VRSessionState.Focused3The VR session has full XR input focus and is rendering visible frames; haptic feedback is available.
Enum.VRSessionState.Stopping4The VR session is in the process of stopping and will transition to an inactive state.

Reference text from the Roblox Creator Documentation, licensed CC BY 4.0, reorganized by rbxtoolshub.com.