Hi I have a bar which random spawns using a function but I would like it to spawn it a random colour every time. I have different animations for the colour but can't seem to figure it out
Develop games in your browser. Powerful, performant & highly capable.
Set the animation speed to 0, then on events (at the point your image shows there) you add "Set frame to floor(random(5))"
random(5) gives you a number from 0 to 4.99... floor() rounds it down to 0, 1, 2, 3 and 4
Thank you 7Soul exactly what I wanted