lovr.headset.getBoundsDimensions

Edit

Returns the size of the play area, in meters.

width, depth = lovr.headset.getBoundsDimensions()

Arguments

None

Returns

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

Notes

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

See also