Copy link to clipboard
Copied
I have multiple pre-compositioned elements linked to a null object with a color control. It's working to change those all colors at once but when I hit the stopwatch on the color of a null object to animate the colors it's not working. I found an information that it should be working just like any other element with a stopwatch but it's not, please help
Copy link to clipboard
Copied
You have to add another keyframe at a different time with a different color to get it to animate. Just move the current time indicator to a new time and change the color (the new keyframe should happen automatically). Sorry if you knew this already.
Copy link to clipboard
Copied
Same issue - thanks for the anwer but I do know how to animate in general. The issue only appears when I'm doing the same thing I would do for changing a rectangle's color, but on a color control - then it's not working
Copy link to clipboard
Copied
Ah, OK. I suspect that you have colors in a precomp linked to controls in a main comp, but the precomp layers in the main comp don't start at time = 0. If that's the case, you need to compensate for the offset start time. So where you have an expression like this in the precomp:
comp("Main").layer("controls").effect("Color Control")("Color")
you need to change it to something like this:
C = comp("Main");
ctrl = C.layer("controls").effect("Color Control")("Color");
L = C.layer(thisComp.name);
ctrl.valueAtTime(time + L.startTime)
Copy link to clipboard
Copied
Thank you, yes you get it exactly and I was sure your solution would work but for some reason it didn't allow to animate the color control's color value 😕 Of course I replaced "Main" and "controls" with the names of my master board and the control layer name but still no animation. Maybe there's a better way - all I did is a loop of a precomposition with use of loopOut and now I want to change colors of the looped elements - that's why I used color control and also, as you suggested why they don't start at the same time. Is there maybe a simpler way to animate the colors of looped shapes and text?
Copy link to clipboard
Copied
Hard to say without seeing it, but this caught my attention: "all I did is a loop of a precomposition". How did you do that, exactly?
Copy link to clipboard
Copied
https://www.youtube.com/watch?v=r4R47Ihv_r4 - exactly like that. Also used the same method to loop a shape. Now, in the main comp I'd like to animate the color of the text and shape at some point. Color control let's me change the color of those elements but I can't animate it, even after replacing code to yours. That's the whole issue. Thank you so much for your help, I really hope we'll manage to make it work 🙂
Find more inspiration, events, and resources on the new Adobe Community
Explore Now