ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

Re: Vertical text centering

COW Forums : Adobe After Effects

FAQ   •   VIEW ALL   •   ADD A NEW POST   •   PRINT
Respond to this post   •   Return to posts index   •   Read entire thread


Ze'ev Gilad
Re: Vertical text centering
on Mar 9, 2017 at 9:30:09 pm

To center a text layer vertically, apply this expression to the Anchor of the text layer:

s=sourceRectAtTime();[0,s.top+s.height/2]+value

This will move the Anchor Point to the true vertical center of the text block. You can then tweak the values to adjust.

This works for single lines, multiline, and even text blocks.


Posts IndexRead Thread 


Current Message Thread:





© 2020 CreativeCOW.net All Rights Reserved
[TOP]