Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Parenting a scale layer of one layer to position of another

  • Parenting a scale layer of one layer to position of another

    Posted by Sean Platt on March 14, 2016 at 10:14 pm

    Hi There. I was hoping someone could explain what I need to do here. I have a layer that has a wiggle expression for just the y-axis POSITION property. I have another layer that needs to wiggle the x-axis SCALE property In SYNC with the y-axis position property. Any suggestions (and the “why” behind it all so I can help put the pieces together in my head for future) would be most appreciated. Thanks!

    Sean Platt replied 10 years, 1 month ago 2 Members · 2 Replies
  • 2 Replies
  • Dan Ebberts

    March 14, 2016 at 10:36 pm

    One way would be to put an amplitude = 1 wiggle on a slider control:

    wiggle(1,1)

    and then use that as the basis for the wiggles on the other properties (adding a multiplier for the proper scaling). For position, it might look like this (assuming you haven’t separated dimensions):

    w = effect(“Slider Control”)(“Slider”);
    value + [0,w*100]

    and like this for scale:

    w = effect(“Slider Control”)(“Slider”);
    value + [w*50,value[1]]

    Try it–you’ll see how it works.

    Dan

    Oops– the one for scale should be:

    w = effect(“Slider Control”)(“Slider”);
    value + [w*50,v0]

  • Sean Platt

    March 15, 2016 at 5:19 pm

    Dan, thanks so much. This worked perfectly. Slowly putting this (expressions) all together in my head 🙂

    Again, thank you for taking the time to help!

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