# Is there a way to access "Room Setup" information/meshes with Meta Quest2 / Babylon?

**URL:** <https://forum.babylonjs.com/t/is-there-a-way-to-access-room-setup-information-meshes-with-meta-quest2-babylon/43940>\
**Category:** Questions\
**Tags:** webxr\
**Created:** [September 8, 2023, 4:17am UTC](https://forum.babylonjs.com/t/is-there-a-way-to-access-room-setup-information-meshes-with-meta-quest2-babylon/43940 "2023-09-08T04:17:25Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![br-matt](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/br-matt/32/22436_2.png) [@br-matt](https://forum.babylonjs.com/u/br-matt)\
**Post date:** [September 8, 2023, 4:17am UTC](https://forum.babylonjs.com/t/is-there-a-way-to-access-room-setup-information-meshes-with-meta-quest2-babylon/43940/1 "2023-09-08T04:17:25Z")

</div>

I tried a three.js powered MixedReality experience launched from the web ([Wol - a mixed reality experience for the web from Niantic | Niantic | 8th Wall](https://www.8thwall.com/niantic/meetwol)). After going through the “room setup” process, the app had access to the walls for raycasting

This is a video of what that setup looks like:

[![](https://img.youtube.com/vi/4t1CdmDeBhA/maxresdefault.jpg "Quest 2 Experimental Room Setup For Mixed Reality") ](https://www.youtube.com/watch?v=4t1CdmDeBhA)

@RaananW is there a particular feature that needs to be enabled for this or anything ? I tried doing some digging online and there is very little out there documented about it

---

<div class="post-metadata">

**Author:** ![RaananW](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/raananw/32/28955_2.png) [@RaananW](https://forum.babylonjs.com/u/RaananW)\
**Post date:** [September 8, 2023, 2:18pm UTC](https://forum.babylonjs.com/t/is-there-a-way-to-access-room-setup-information-meshes-with-meta-quest2-babylon/43940/2 "2023-09-08T14:18:47Z")

</div>

I can only assume they are using the bounded-floor reference space ([Using bounded reference spaces - Web APIs | MDN](https://developer.mozilla.org/en-US/docs/Web/API/WebXR_Device_API/Bounded_reference_spaces)). This adds the `boundsGeometry` array of 3D points with which you can generate geometries, similar to the way the geometries are used when constructing a plane in the ar plane detection. After converting it to a babylon object, you can do whatever you want with it 🙂

---

<div class="post-metadata">

**Author:** ![br-matt](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/br-matt/32/22436_2.png) [@br-matt](https://forum.babylonjs.com/u/br-matt)\
**Post date:** [September 8, 2023, 2:31pm UTC](https://forum.babylonjs.com/t/is-there-a-way-to-access-room-setup-information-meshes-with-meta-quest2-babylon/43940/3 "2023-09-08T14:31:08Z")

</div>

Ooh thank you, I think I was only poking around with local-floor turned on. I will give that a shot 🙂

---

<div class="post-metadata">

**Author:** ![br-matt](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/br-matt/32/22436_2.png) [@br-matt](https://forum.babylonjs.com/u/br-matt)\
**Post date:** [September 22, 2023, 4:08pm UTC](https://forum.babylonjs.com/t/is-there-a-way-to-access-room-setup-information-meshes-with-meta-quest2-babylon/43940/4 "2023-09-22T16:08:23Z")

</div>

@RaananW I got some info about this: [WebXR Plane Detection Module](https://immersive-web.github.io/real-world-geometry/plane-detection.html#dom-xrsession-initiateroomcapture)

pretty neat !

---

<div class="post-metadata">

**Author:** ![RaananW](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/raananw/32/28955_2.png) [@RaananW](https://forum.babylonjs.com/u/RaananW)\
**Post date:** [September 22, 2023, 4:10pm UTC](https://forum.babylonjs.com/t/is-there-a-way-to-access-room-setup-information-meshes-with-meta-quest2-babylon/43940/5 "2023-09-22T16:10:18Z")

</div>

That’s nice! and quite simple to add to our plane detection support! i’ll do that soon 🙂
