SourceRectAtTime() Expression- Adobe After Effects tutorial
The new sourceRectAtTime() can get you the width and height of text and shape layers. It’s new but it’s good. If you have Ae CC 2014.2 (aka 126.96.36.199) then you can enjoy this. If you don’t have that option open and you want to make solids resize to text you should check out an older tutorial on this site.
This tutorial also talks for a long time about expressions in general, so if you’re not into that… get out now!
This is the expression we wrote on the size:
This is the expression we wrote on the position:
content(“Rectangle 1”).content(“Rectangle Path 1”).size/2
If you have any questions just let me know in the comments.
Download this project file:
via Evanabrams.com: http://evanabrams.com/sourcerectattime-expression-adobe-after-effects-tutorial/
Suggest a tutorial topic: https://docs.google.com/forms/d/13A2eHcNQADsjyPWrrlbFTeOMqPAbqAxq07p7Alroh_w/viewform
Likes: 1512 – Views: 119246