This item is not replicated across Roblox’s server/client boundary.
This property can only be read from. Attempting to write to it will cause an error.
The VREnabled property indicates whether the user is using a virtual reality (VR) headset. It becomes true if the user is using a VR headset, and false if the user is not using a VR headset.
If a VR headset is enabled, you can interact with it’s location and movement through functions such as
UserInputService/RecenterUserHeadCFrame. You can also react to VR headset position changes using the
UserInputService only runs client-side, this property will only work when used in a
This example prints “User is using a VR headset!” if the VREnabled property is true and “User is not using a VR headset!” is the VREnabled property is false.