Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Script – to “wiggle” opacity of many layers

  • Script – to “wiggle” opacity of many layers

    Posted by Michael Becke on July 14, 2006 at 9:37 am

    Hi,
    I need to randomly change the opacity levels of many layers, but don’t want to add a wiggle script to every layer since there are hundreds.
    Mainly because if I want to change a setting later on I don’t want to have to change every layer.

    I am currently doing the above (terrible) solution but any help with a much quicker and more streamlined solution would be appreciated.

    Thank you very much!!
    Michael

    Michael Becke replied 19 years, 8 months ago 2 Members · 2 Replies
  • 2 Replies
  • Steve Roberts

    July 14, 2006 at 12:30 pm

    Create a null layer and apply the “slider” expression control effect twice. Name one “amp slider” and the other “freq slider”. Apply the wiggle expression to one layer’s opacity, just using freq and amp. You’ll probably get an error – ignore it. Select the word “freq” in the expression, and pickwhip it to the value of the “freq slider”. Do the same for the amp slider. Your wiggle expression should now be tied to the sliders. Change their values to test the wiggle.

    Now select the opacity and edit>copy expression only. Select all the other layers and select edit>paste. They should all now have a wiggle expression. To change freq and amp, change the sliders.

    Does that work for you?

  • Michael Becke

    November 13, 2006 at 3:21 pm

    Thanks Steve,

    That was just what I needed… much appreciated!
    And now I also know you can simply pick whip to add to the expression 😉

    Thanks,
    Michael

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