In this tutorial, you'll learn how to create text boxes that automatically resize with your text as it's typed on. We'll be using some pretty cool expressions to make this happen. I'll also show you how you can modify the shape of the auto-resizing box so that you can have more flexibility in your design.
Expressions Used:
SIZE:
s =thisComp.layer("TEST TEXT");
x = s.sourceRectAtTime(time-s.inPoint,true).width;
y = s.sourceRectAtTime(time-s.inPoint,true).height;
[x,y]
-----------------------------------------------------------------------------------------------------------
POSITION:
content("Rectangle 1").content("Rectangle Path 1").size/2
-----------------------------------------------------------------------------------------------------------
Subscribe for more tutorials! Leave some suggestions in the comments below. I'll take as much feedback as I can get!
Follow Me:
Instagram: cinegrams
Facebook: fluxmotionstudio
Hire Me:
Website: www.fluxmotionstudio.com
16 сен 2024