> For the complete documentation index, see [llms.txt](https://docs.hology.app/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.hology.app/user-interfaces/vr.md).

# VR

To enable VR in your game or 3D experience, you can simply pass in XR settings using the HologyScene component. The only setting you need is to set enabled to true.

```tsx
function App() {
  return (
    <HologyScene 
      gameClass={Game} 
      sceneName='main' 
      dataDir='data' 
      shaders={shaders} actors={actors} 
      xr={{enabled: true}}>
    </HologyScene>
  );
}
```
