Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Setting min + max values

  • Setting min + max values

    Posted by Jay Leahey on March 9, 2014 at 3:50 pm

    I need to create a wiggle expression to a layer’s opacity so it changes randomly, but only within a certain range. 100% looks too unrealistic, and 0%, obviously the layer is completely invisible, which I don’t want either. Probably within the range of about 25% – 75%. I assume it’s some sort of min/max code, probably something simple, but I’m new to expressions and not sure how to go about it!

    Any help would be appreciated, cheers!
    Jay.

    Jay Leahey replied 12 years, 4 months ago 2 Members · 2 Replies
  • 2 Replies
  • Dan Ebberts

    March 9, 2014 at 4:45 pm

    Set the opacity to 50 and use something like this:

    wiggle(3,25)

    Dan

  • Jay Leahey

    March 9, 2014 at 5:37 pm

    Brilliant, thanks Dan, it makes sense now. Knew it had to be something simple! 🙂

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