How to use the Sky block in Flock XR

Contents

    To use the Sky block in Flock XR, place it inside an Event block (such as a Start block), then set its colour or material to control the appearance of the sky in your 3D world.

    The Sky block changes the background and atmosphere of your scene, helping you create different moods or times of day.

    Steps

    1. Add a Start block (Events) to your code area
    2. Drag the Sky block (Scene) inside the Start block
    3. Choose a colour
    4. Press Play to see the sky update in your worldThe sky block is shown inside a start block. The colour is blue and the sky is blue. The image is repeated with a pink colour and pink sky.

    What the sky block does

    • Changes the sky colour or background
    • Affects the overall lighting and mood of your scene
    • Helps make your world feel more immersive

    Important notes

    The Sky block must be placed inside an Event block.

    If the Sky block is not inside an Event block, it will not run and the sky will not change.

    Using materials in a sky block

    You can also use materials to create more advanced sky effects, such as gradients or textures.

    👉 Learn more: How to use materials in the Sky block

    Suggested uses of the sky block

    You might use the Sky block when:

    • Creating a new world
    • Making your world feel more realistic
    • Changing the scene to a specific time of day
    • Creating a mood (happy, calm, mysterious, dramatic)
    • Matching the sky to your map

    Remix a project with the sky block

    Water map is a demo project that uses a gradient sky created from a list of colours.

    You can remix this project to:
    – See how gradient skies work
    – Change the colours and compare the results
    – Experiment with different moods and styles

    Remixing projects is one of the best ways to learn in Flock.

    👉 Learn more: Remix the water map demo

    👉 How do code blocks work in Flock XR?

    👉 How do I build my first Flock XR 3D world?

    👉 How do I create day and night in Flock XR?

    👉 How do I use materials in the Sky block?

    Updated on May 5, 2026