Exit VR - Discord Import

Hi… can anyone steer me to some advice about how to add an ‘Exit VR’ button to a Needle Tools scene? So that users can easily leave the VR environment if, for example, they’re unfamiliar with hitting the Oculus button on their controller.

Many thanks in advance :slightly_smiling_face:

Original Post on Discord

by user 908977119781060648

Hi! So you can make a regular UI Canvas with a Button in it and that will work in VR as well. You’ll have to probably come up with some follow code so that the UI floats in front of the user if needed.

For testing, you can also just make a regular cube, add a button component, and call endSession from the WebXR component:

Awesome! Huge thanks for that, it’s much appreciated :slightly_smiling_face:

by user 908977119781060648