How to create a colour changing tree in Flock XR

Contents

    To create a colour changing tree in your Flock XR project you can recreate this code or import the colour changing tree snippet.

    Example colour changing tree code

    Related articles (open in a new tab):

    A particle effect is a spawner for lots of tiny 2D shapes that can make a project come to life.

    How to import a colour changing tree into your Flock XR world

    Click the download button to save the colour changing tree snippet to your computer

    Open your Flock XR project

    Right click on the code area and select import snippet

    Press play to run the snippet code

    Updated on June 18, 2026