aframewebvr

How do I hide the VR Mode / Goggles icon for A-Frame?


In the bottom right corner, by default, is a Goggles icon that when clicked, enters VR or fullscreen (if no headset). How do I hide this so I can add my own UI, or disable VR altogether?


Solution

  • You can disable the vr-mode-ui component:

    <a-scene vr-mode-ui="enabled: false">

    Learn more about the vr-mode-ui component here.