ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

Centering the Anchor Point for text layers

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Centering the Anchor Point for text layers
on Aug 1, 2005 at 1:11:52 am

Whenever I create a new text layer, for some reason After Effects decides that its not a good idea to put the anchor point right in the center! So if I decide to do anything like rotate the text layer, I have to zoom in and manually set the anchor point myself.
I was thinking maybe it would be possible to write an expression which could center the anchor point. I tried writing one, but then I saw that the height of a text layer varies depending on what font you use. So now I'm kind of at a loss as to how to go about it, if it would even be possible.
After Effects knows how tall the text layer is... because it shows a boundary around it, so it seems like it would be really trivial to figure out the center. Using the layers width and height arguments doesnt seem to work though.

Anyone know another way of going about writing this expression?

Return to posts index

Steve Roberts
Re: Centering the Anchor Point for text layers
on Aug 1, 2005 at 1:44:11 am

There's a baseline shift control in the text control (bottom left). If you set it to whatever it takes to center the anchor point vertically, all subsequent text will be offset by that amount.

Doesn't quite answer your question, but it might help.


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2019 All Rights Reserved