-
[SOLVED] Color value doesn't work with if else statement
Hi!
I tried to do a simple thing and I don’t understand why it is not working…
I have a color control set to white ( [1,1,1,1] ) and a slider which should display “999” when the color is white. I made this expression :if (effect(“Color Control”)(“Color”)[0] == [1,1,1,1]) 999
else 0
And it doesn’t work! I tried in rgb, in hex, i tried to change the [1,1,1,1] to another white Color Control, nothing! Am I missing something here?