-
Using a Slider to control RGB values
I am having a bit of trouble making this work…
So I need to make a Slider (or any ‘Value’ control) to control a Fill effect on a Text layer.
I need to limit to only 6 specific colours, so I need something like,
if thisComp.layer(“ColourControl”).effect(“Slider”)=1,
make, this layer effect(“Fill”)(“Color”)(r,g,b)255,50,20;If the Slider = 2 then make 255,50,42
If Slider = 3 then make… etc etc etc, All the way to 6.Any help muchly appreciated!!!
Thanks
John