Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions opacity of two layers always = 100

  • opacity of two layers always = 100

    Posted by Price Morgan on March 10, 2009 at 6:25 pm

    I have two layers in a comp, I want thier oppacity to always equal 100 when I add them together. The top layer has a wiggle on the oppacity. Is there an expression I can use to accomplish this?

    Price Morgan replied 17 years, 2 months ago 3 Members · 3 Replies
  • 3 Replies
  • Dan Ebberts

    March 10, 2009 at 6:54 pm

    Use something like this for the layer below the top layer:

    100-thisComp.layer(index-1).transform.opacity

    Dan

  • Eric Sanderson

    March 10, 2009 at 7:00 pm

    this should work if you set both your layers opacity at 50, then add the wiggle to the top one and this to the bottom one…

    value-thisComp.layer(index-1).transform.opacity

  • Price Morgan

    March 10, 2009 at 7:38 pm

    brilliant, worked like a charm, thanks for your help.

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy