ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

text expressions for character size and tracking

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
bart stevens
text expressions for character size and tracking
on Apr 1, 2020 at 12:21:06 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!


Return to posts index

Dan Ebberts
Re: text expressions for character size and tracking
on Apr 1, 2020 at 1:01:52 am

Try it this way:

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


Dan



Return to posts index

bart stevens
Re: text expressions for character size and tracking
on Apr 1, 2020 at 2:45:10 pm

Works perfect....Thank you Dan!


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2020 CreativeCOW.net All Rights Reserved
[TOP]