Skip to main content
Participating Frequently
May 15, 2022
Answered

Animate color control

  • May 15, 2022
  • 2 replies
  • 2336 views

Hello, I have a problem with color control animation - the null object that controls the fill of multiple shapes is working to change them all at once, but when I try to animate it, it's not changing them, please help

This topic has been closed for replies.
Correct answer Dan Ebberts

That would be perfect, but how to do that? For a pre-comp layer I can only see the regular Transform properties to animate?


Select the precomp layer, then Effect > Color Correction > Change to Color, set the From color and animate the To color, maybe?

2 replies

Adobe Expert
May 16, 2022

You will need an expression that takes the loop into account. I don't have time to do that this morning. I think Dan Ebberts proposed a solution in another thread. Was that your thread?

Participating Frequently
May 16, 2022

Yes, I posted that solution here too:

C = comp("composition where your color control is");
ctrl = C.layer("color control layer").effect("Color Control")("Color");
L = C.layer(thisComp.name);
ctrl.valueAtTime(time + L.startTime)

But it did not work unfortunately 😕😕 I replaced comp("composition where your color control is").layer("color control layer").effect("Color Control")("Color") with that and tried to animate but still no animation

Dan Ebberts
Adobe Expert
May 16, 2022

@Dan Ebberts yes, I think so but how can I make it work? Is is really impossible to change color of a looped animation in After effects?


I guess you could apply color change effects to the precomp layer in the main comp, which you could animate independently of the time remapping.

Adobe Expert
May 16, 2022

We need to see your expressions to figure out what went wrong. A simple pickwhip from one color to an Expression Controls/Color Controller should do the trick. All you should need to do is set keyframes for the Color Controller.

I have included a movie and a project file.

 

Participating Frequently
May 16, 2022

@Rick Gerard thank you for your reply, it's not working for me, probably because I'm trying to animate a color of a looped precomposition. This is how I looped a text and a shape below, how do I animate the color now in the main comp?

 

https://www.youtube.com/watch?v=r4R47Ihv_r4

Nebojsa Savicic
New Participant
May 16, 2022

If that's the case you should reference the pre-comp in your expression. You can try using:

 

comp("composition where your color control is").layer("color control layer").effect("Color Control Effect").color