Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions text expressions for character size and tracking

  • text expressions for character size and tracking

    Posted by Bart Stevens on April 1, 2020 at 12:21 am

    I’m a novice working with expressions, and trying to figure out a way to control text character size and tracking with a slider control.
    I know in AE 2020 these text variables can be controlled with expressions with the drop down menu.
    I can manually control with this:
    newStyle = style.setTracking(30);
    newStyle = style.setFontSize(10)
    I just want to link those values to a slider.
    Any help is greatly appreciated.
    Thanks!

    Bart Stevens replied 6 years, 1 month ago 2 Members · 2 Replies
  • 2 Replies
  • Dan Ebberts

    April 1, 2020 at 1:01 am

    Try it this way:

    tracking = effect(“Tracking”)(“Slider”);
    fontSize = effect(“Font Size”)(“Slider”);
    newStyle = style.setTracking(tracking);
    newStyle.setFontSize(fontSize);

    Dan

  • Bart Stevens

    April 1, 2020 at 2:45 pm

    Works perfect….Thank you Dan!

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