ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

Point Control expression that follows the bottom of a text layer

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Eduard Radu
Point Control expression that follows the bottom of a text layer
on Nov 10, 2019 at 10:56:11 am

I need a Point Control to follow the bottom of a text layer even when I change the scale, font size and position of the text. I manage to make a mess with sourceRectAtTime() where everything works except when I change the font size.

Thanks,
Eduard


Return to posts index

Dan Ebberts
Re: Point Control expression that follows the bottom of a text layer
on Nov 10, 2019 at 5:38:54 pm

This should put it at the bottom middle of the text:

L = thisComp.layer("text");
r = L.sourceRectAtTime(time,false);
fromComp(L.toComp([r.left+r.width/2,r.top+r.height]))


Dan



Return to posts index

Eduard Radu
Re: Point Control expression that follows the bottom of a text layer
on Nov 10, 2019 at 7:58:31 pm

That is exactly what I need.
Thank you for your time Dan. I greatly appreciate it.

Eduard


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2019 CreativeCOW.net All Rights Reserved
[TOP]