How to create a VR project in Flock XR

Contents

    Virtual Reality (VR) lets you step inside the 3D worlds you create instead of viewing them on a flat screen.

    In Flock XR, you can make your projects VR-ready by adding a single VR block. Once your project is published, you can open it in the browser on a compatible VR headset and explore your world as though you are standing inside it.

    Whether you’re creating a game, an art gallery, a science simulation or a virtual museum, VR makes your projects feel much more immersive.

    Flock XR uses WebXR, allowing compatible VR headsets to open your projects directly in a web browser without installing a separate app.

    Why create a VR project?

    Viewing a project in Virtual Reality changes the way people experience it. Instead of looking at your world through a camera, they can look around naturally, judge distances more easily and feel like they’re really there.

    VR is ideal for creating:

    • Interactive games
    • Art galleries
    • Museums
    • Storytelling experiences
    • Historical recreations
    • Science simulations
    • Escape rooms

    Many creators design their projects on a computer before exploring and testing them in VR.

    How to create a VR project

    Creating a VR project only takes a few steps.

    1. Add the VR block

    Open your project.

    From the Scene category, drag the VR block into your Start block.

    The VR block enables Virtual Reality mode for your project. Without it, the project will open normally in a browser but won’t offer the option to enter VR.
    The Flock XR Start block has a VR block inside it. The Flock XR block says 'set XR mode to VR (Oculus Quest or phone viewer)

    2. Publish your project

    Your VR project needs to be available on the web.

    Publish or host your project so that it has a web link (URL).

    You’ll open this link from inside your VR headset.

    Useful links:
    👉 How to open a Flock XR project hosted on GitHub
    👉 How to load specific projects in Flock XR

    3. Open the project in your VR headset

    Put on your headset.

    Open the built-in web browser.

    Enter or open the web address for your published Flock XR project.

    The project will load just like it does on a computer.

    Many standalone VR headsets include their own browser, making it easy to visit published Flock XR projects.

    A row of icons in a VR headset. One icon says 'Browser' below it. It is a Meta Quest browser and the icon is blue.
    The VR web browser is open and is viewed as a flat screen in front of the  VR headset view. It only takes up part of the VR headset view.

    4. Enter VR

    Once the project has loaded, press the VR button.

    Your headset will switch into immersive mode and you’ll be placed inside your 3D world.

    You can now look around naturally and explore your creation in Virtual Reality.

    If your headset asks for permission to enter immersive mode, simply accept the prompt.
    The VR mode button is show. It is an icon representing a VR headset.
    The project is shown in VR mode

    Designing better VR experiences

    A project that works well on a computer doesn’t always feel right in VR. Here are a few ways to improve the experience for your players.

    Avoid objects too close to the player

    Very large objects or walls placed directly in front of the camera can feel uncomfortable.

    Make important objects easy to see

    Use larger objects or place them close enough that players can easily recognise them.

    Think in 360°

    People can look in every direction in VR. Try placing interesting objects around the player rather than only in front of them.

    Test regularly

    The best way to improve a VR experience is to try it yourself. Small changes to object placement or scale can make a big difference.

    Small design changes can make a big difference to how immersive your world feels.

    Frequently asked questions

    Do I need a VR headset to build a VR project?

    No.

    You can build and test your project on a computer as normal.

    A VR headset is only needed when you want to experience the project in Virtual Reality.

    Can I still use my project without VR?

    Yes.

    Adding the VR block doesn’t make your project VR-only.

    People without a VR headset can still open and interact with your project in a web browser.

    Which VR headsets work?

    Flock XR uses WebXR, so compatible VR headsets with a modern web browser can run supported projects. Compatibility depends on the headset and browser.

    Can I still edit my project after publishing it?

    Yes.

    Simply make your changes in Flock XR, publish the updated version and reload the page in your VR headset.

    Try it yourself

    1. Add the VR block.
    2. Publish your project.
    3. Open the project in your VR headset.
    4. Press the VR button.
    5. Explore your world.

    Next, try adding buildings, characters, sounds or interactive objects. How does your world feel different when you’re standing inside it instead of viewing it on a computer?

    Check your understanding

    Try these tasks:

    • Add the VR block to a project.
    • Publish your project and open it on a VR headset.
    • Enter Virtual Reality and explore your world.
    • Add a large object and see how it feels in VR.
    • Move an object further away and compare the experience.
    • Create something interesting behind the player for them to discover.

    Updated on July 27, 2026