-
Color if expression
hey
is there any way i can control the color with an if expression? it has to check that the value color is for example Blue, if that is true it has to change to a color i defined with a color controller, but if it is not it should use the value color
here is what i tried but it did not yet work:
cColor = effect("check Color")("Color"); //the color it should check
gColor = effect("Global Color")("Color"); //the color it should be if its the checked color
vColor = effect("Wales")("Color"); //the value colorif (vColor == cColor){
gColor
}else{
vColor
}