Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Expression between 2 layers’s opacity

  • Expression between 2 layers’s opacity

    Posted by Ali Khoshdouni on September 1, 2013 at 10:35 am

    I have a layer with multi value of opacity. because this layer opacity linked to audio keyframes from another layer. i want to link another layer opacity to this layer opaciry. but i want to have reverse value of opacity from new layer .

    for example each time opacity from layer 1 was 1%, opacity from another layer to must be 99%. or each time opacity from layer 1 was 35%, opacity from another layer must be 65%. exact reverse together.

    How can i do this?

    Ali Khoshdouni replied 12 years, 8 months ago 3 Members · 3 Replies
  • 3 Replies
  • Mitch Mann

    September 1, 2013 at 11:24 am

    Perhaps something like this…

    myOpacity = linear(otherLayerOpacity,0,100,100,0)

  • Dan Ebberts

    September 1, 2013 at 4:28 pm

    This is probably simplest:

    100 – thisComp.layer(“other layer”).transform.opacity

    Dan

  • Ali Khoshdouni

    September 1, 2013 at 10:49 pm

    Yeah so many thanks Dan Ebberts. its simple but clever.

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