Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Scale axis problem

  • Scale axis problem

    Posted by David Baxter on December 12, 2010 at 4:21 pm

    Hello, I’m a new post(er?) here.

    I’m trying to use an expression slider to control a multiplication factor of scale percentage on a layer.

    I got it working on the x axis but can’t figure out the array syntax to address the y axis.

    Anyone help?
    Thanks

    David Baxter replied 15 years, 5 months ago 2 Members · 3 Replies
  • 3 Replies
  • Kevin Camp

    December 13, 2010 at 4:23 pm

    if you just needed to multiply both x & y scale values by the same slider value, you could use something like this for the layer’s scale expression:

    n=effect("Slider Control")("Slider"); // this should be your slider control
    value*n

    Kevin Camp
    Senior Designer
    KCPQ, KMYQ & KRCW

  • David Baxter

    December 13, 2010 at 6:10 pm

    Hi thanks. Sorry for posting twice, the first took a while to register as I’m new but I thought it had messed up.

    I needed Dans way because I’m controlling multiple parameters, not just scale, so a multiplication factor ranging -1 to 1 seems to work.

    I’m building a little face rig to make a head look like it’s turning left and right and up and down using 2 faders. If anybody is interested hit me up.

  • David Baxter

    December 13, 2010 at 6:15 pm

    Didn’t quite read that properly. Ofcourse this would work also, it’s a bit leaner actually. Just need to stick in an extra multiplication factor at the end if needed.

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