Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Using Slider to Scale Text Proportionately

  • Using Slider to Scale Text Proportionately

    Posted by Vy Nguyen on January 25, 2018 at 12:23 am

    Hello all,

    I am working on a project and I want to be able to adjust the scale of text with a slider while constraining the proportion. When I simply attach the slider to scale right now, it locks all the scale variables to equal variables (i.e. 100%, 100%, 100%) – this in turn makes the text oddly proportioned.

    What expression can I use to tell the slider to scale the text using constrained proportions? Note, I am working in 3d space.

    Thank you in advance.

    Vy Nguyen replied 8 years, 7 months ago 1 Member · 1 Reply
  • 1 Reply
  • Vy Nguyen

    January 25, 2018 at 3:59 am

    Solved it by using this code and linking to two sliders, leaving the z axis alone –

    x = effect("Text Scale")("Slider");
    y = effect("Text Scale")("Slider") - 21;
    [x,y]

    Note I subtracted 21 to manually input the proportion of text scaling.

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