lovr.headset.getBoundsWidth

Edit

Returns the width of the play area, in meters.

width = lovr.headset.getBoundsWidth()

Arguments

None

Returns

NameTypeDescription
widthnumber The width of the play area, in meters.

Notes

If the VR system is not roomscale, this will return zero.

See also