Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Change Value (Opacity or scale) based on position FROM control layer?

  • Change Value (Opacity or scale) based on position FROM control layer?

    Posted by Lukasz Pason on August 2, 2013 at 12:54 am

    So I was watching this tutorial on how to delay an animation off a base layer and any layer above it will be delayed. Make sense?

    x=thisComp.layer(“star 1”).effect(“Delay”)(“Slider”);
    thisComp.layer(index+1).transform.position.valueAtTime(time-x)

    and here’s the tutorial: https://vimeo.com/19668371

    My question is how could you make the duplicates change their scale when they got closer or even change their opacity via expressions? Is that possible?

    Lukasz Pason replied 12 years, 9 months ago 2 Members · 2 Replies
  • 2 Replies
  • Darby Edelen

    August 3, 2013 at 10:45 pm

    [Lukasz Pason] “My question is how could you make the duplicates change their scale when they got closer or even change their opacity via expressions? Is that possible?”

    The answer will change depending on the specifics of what you’re hoping to do.

    For example, when you say “get closer” do you mean when any layer approaches any other layer’s position? Or only when a layer approaches the position of the layer below/above it in the timeline? Or when any layer gets closer to an arbitrary point?

    Darby Edelen

  • Lukasz Pason

    August 3, 2013 at 11:02 pm

    What I ended up doing is adding that same expression to the other values and animating the scale position and opacity on the root layer. It worked out. I was trying to base it off the layer below it. =) Thanks for asking!

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