I did tell what I wanted to do:
“Now I want to change the colour from gold to black whenever, for instance, the opacity increases. ”
So I guessed dragging the pickwhip to the opacity bar would at least change the colour. You know, when opacity would reach 100 C, M, Y, and K would all be be 100. I did this to test the principle, and I would want to finetune later on (set the default value to gold and correct the colour channels to go to black whenever the opacity increases.
But linking colour to that expresiion didn’t do anything, it was still gold all the way through while the opacity fluctuates pretty wildly.
I have been screwing about a little bit, and I made this expression:
temp = thisComp.layer(“mohagony coffin”).transform.opacity;
[0, 2*temp, 0, 1]
This would mean that with opacity 100% on the mohagony coffin layer, the thing would be green, and with opacity 0 it would be black right?
Because now it’s green all the way. I can’t see what it is I’m doing wrong.