Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions question about expression on the scale transform

  • question about expression on the scale transform

    Posted by Kathyb on October 29, 2005 at 3:42 pm

    Hi. I am new to After Effects and I am learning about expressions. I added an expression to the scale transfom on my first layer. I use the pick whip to link it to the rotation transform on my second layer. Can anyone tell me if there is a way to add an expression only to the y axis of the scale transfom on my first layer?
    Thank you!

    Kathyb replied 20 years, 6 months ago 2 Members · 2 Replies
  • 2 Replies
  • Colin Braley

    October 29, 2005 at 5:15 pm

    Try this:

    s = thisComp.layer(“Second Layer”);
    [value[0], s.rotation]

    What this does is basiacly say create a variable named s that is the layer in the comp called second layer. Then set the Y scale of the current layer to the rotation of the layer “Second Layer.” This expression leaves the x component of the scale as is. If you want to learn more about this kind of stuff check out http://www.motionscript.com

    ~Colin

  • Kathyb

    October 29, 2005 at 8:12 pm

    Thanks so much. It worked!

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