1 min read

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

NameValueDescription
World0Adjusts Camera.HeadScale so that the world in VR is seen from the avatar's perspective.
Off1Disables 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.

FieldValue
value0

Off

Disables VR automatic scaling; set Camera.HeadScale manually if needed.

FieldValue
value1