Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity › Forums › Adobe After Effects Expressions › How to create an opossite wiggle expression

  • How to create an opossite wiggle expression

    Posted by Alex Orfanidis on March 13, 2021 at 3:35 pm

    I have two photoshop layers of a window, one yellow (for when the lights are open) and one dark blue (for when the lights are closed). I’ve created a wiggle expression for the opacity of the first one (so it flickers) and now I want to create the exact opposite for the second one, so when the first one drops in opacity (e.g. to 25%) the other one will increase by the same amount (75%). How can I do that?

    Alex Orfanidis replied 5 years, 6 months ago 2 Members · 2 Replies
  • 2 Replies
  • Dan Ebberts

    March 13, 2021 at 5:52 pm

    Something like this should work:

    100 - thisComp.layer("Layer A").transform.opacity;
  • Alex Orfanidis

    March 14, 2021 at 2:07 am

    You are absolutely right! Thank you so much. I’m guessing that this will also work with any other transform parameter so it’s even more helpful ?

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