Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Centering the Anchor Point for text layers

  • Centering the Anchor Point for text layers

    Posted by Bill Clotz on August 1, 2005 at 1:11 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?

    Steve Roberts replied 20 years, 12 months ago 2 Members · 1 Reply
  • 1 Reply
  • Steve Roberts

    August 1, 2005 at 1:44 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.

    Steve

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