Copy link to clipboard
Copied
Hello everyone,
With After Effects (Beta) build 24.3.0.20 and later, there are now several new scripting attributes available for Box Text layers. These new attributes—listed below—control how and where your text is arranged and aligned inside of its box, and are not currently available in the UI.
We need your feedback on how these new options might be put to use in your projects and where you would expect them to be found in the interface of After Effects. For those of you familiar with Illustrator, most of these new attributes are equivalent to the Offset and Align options found in the Area Type Options dialog.
The new attributes for Box Text are:
Full details for these attributes in scripting are available in the latest scripting documentation at https://ae-scripting.docsforadobe.dev/introduction/changelog.html. As usual, these new APIs remain subject to change while they are still in Beta.
To try out these attributes without needing to write your own script, download and run the attached sample .jsx scriptUI panel* and run it from File > Scripts > Run Script File... You should see a panel that allows you to try out these attributes on your own Text layers. You can also view and download the script at https://github.com/AdobeDocs/after-effects/blob/main/samples/ComposeBoxTextOptions_ScriptUISample.js....
*The attached file has the extension .jsx.txt because the forums do not support .jsx attachments. You will need to remove the .txt extension to run the script in AE, or download the .jsx directly from the GitHub link.
Thank you for taking the time to give feedback and for helping us improve After Effects,
– Douglas, John, and Sebastien
Copy link to clipboard
Copied
Thank you for adding in these features, they are great!
Copy link to clipboard
Copied
This is great! Now we just need these controls natively in AE.
Variable fonts would be a great next step.
Thanks a lot
Copy link to clipboard
Copied
HI @JohnColombo , these are fantastic changes! Love 'em.
Is there a plan to make these available in the UI? For example, will alignment now include vertical alignment?
Copy link to clipboard
Copied
Hi @Ron Ganbar,
Thanks for your patience. There aren't yet any plans to make these available in the UI, but I will consider this a request for adding it 🙂
Cheers,
- John, After Effects Engineering Team
Copy link to clipboard
Copied
Is there a particular reason these won't be made available in the UI? It would bring AE to parity with Illustrator regarding text alignment.
Copy link to clipboard
Copied
Ooh @JohnColombo I've only just found this!
Am I right in assuming that these text box options are only accessible via scripting and not via expressions?
Copy link to clipboard
Copied
Hi @hellopaul4,
Yes, that's correct. These are only available via ExtendScript scripting and not in either of the expression engines.
Cheers,
- John, After Effects Engineering Team
Find more inspiration, events, and resources on the new Adobe Community
Explore Now