Rainbow light?

How do I achieve to make a light like this:

http://hydra-media.cursecdn.com/terraria.gamepedia.com/2/26/True_rainbow_slime.gif?version=54564add0133b626ea30044933da1744

Hi pikachu1001000,

Try creating a “set timer” set to looping at a short time (I used .15 seconds to test). Create a custom event with the same name as your set timer node. In this, use a switch on int to set your light’s color based on which int is currently used. Then use “set int” to set your int to a modulated value based on how many options you have in switch on int+1. It should look something like this:

1 Like

Awesome. Thanks man.

mĂĽkemmeeeeel oldu teĹźekkĂĽrler :slight_smile:
:heart_eyes_cat: