Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Text – Anchor Point Alignment

  • Text – Anchor Point Alignment

    Posted by Tiago Cav on June 9, 2015 at 11:42 am

    I need, through a very precise expression, using “sourceRectAtTime ()” (if necessary) to make the Anchor Point always be in the exact middle of the text.

    The Anchor Point Text is not always aligned because of letters that have variations (small misalignments).

    I’m doing an animation that requires an automatic alignment.

    Tiago Cav replied 10 years, 11 months ago 2 Members · 2 Replies
  • 2 Replies
  • Adam O’hern

    June 9, 2015 at 10:25 pm

    Here’s the gist. AFAIK only possible with AE CC 2014.2 or later.

    R = thisLayer.sourceRectAtTime(time);
    T = R.top;
    L = R.left;
    W = R.width;
    H = R.height;
    [L+W/2,T+H/2]

  • Tiago Cav

    June 9, 2015 at 10:30 pm

    Yap! Amazing! Thanks!

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