Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions slider scale expression help!

  • slider scale expression help!

    Posted by Eric Braff on October 23, 2009 at 6:57 pm

    Hello!

    here is a great expression, that I would love to have the x,y separate
    slider = thisComp.layer(“Slider 1”).effect(“Slider Control”)(“Slider”);
    s = linear(slider,55,123,100,49);
    [s,s]

    Thank you so much!!!

    E

    Eric Braff replied 16 years, 6 months ago 2 Members · 2 Replies
  • 2 Replies
  • Dan Ebberts

    October 23, 2009 at 7:16 pm

    Adding another slider to the “Slider 1” layer, it would look like this:

    slider_x = thisComp.layer(“Slider 1”).effect(“Slider Control”)(“Slider”);
    slider_y = thisComp.layer(“Slider 1”).effect(“Slider Control 2”)(“Slider”);
    x = linear(slider_x,55,123,100,49);
    y = linear(slider_y,55,123,100,49);
    [x,y]

    Dan

  • Eric Braff

    October 23, 2009 at 8:19 pm

    Thank you so much Mr. Ebberts!

    I am so very grateful!!

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