Control the width of Text using a slider in After Effects

This tutorial shows you how to use a Javascript expression, linked to a slider, to set the width of a text layer. This keeps the scale correct, but let’s you control how many words per line you want and makes it easy to adjust.

The expression appears complicated, but I take you through it line by line, explaining what each element does. But if you’re not interested in code, which is totally fine, then you can download the preset from the link below.


Published by ShiveringCactus

Tutorials and videos, mainly After Effects, but with some 3D and puppetry stuff too.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: