Source: Roblox Creator Hub · CC BY 4.0 · View source · Code samples: MIT Imported 2026-10-03. Formatting adapted for this site.
VRScaling
VRScaling is used by the VRService.AutomaticScaling property to determine how the engine scales the player's view in VR. When set to VRScaling.World, the engine automatically adjusts Camera.HeadScale so that the scale of the world matches the player's avatar height, preserving immersion when avatars differ in size. When set to VRScaling.Off, no automatic adjustment is made and you can set Camera.HeadScale manually to control the perceived world scale.
Items
| Name | Value | Description |
|---|---|---|
| World | 0 | Adjusts Camera.HeadScale so that the world in VR is seen from the avatar's perspective. |
| Off | 1 | Disables VR automatic scaling; set Camera.HeadScale manually if needed. |
World
Adjusts Camera.HeadScale so that the world in VR is seen from the avatar's perspective.
| Field | Value |
|---|---|
| value | 0 |
Off
Disables VR automatic scaling; set Camera.HeadScale manually if needed.
| Field | Value |
|---|---|
| value | 1 |