Auto Adjust Shape Layer Size Based on Text in After Effects

Auto Adjust Shape Layer Size Based on Text in After Effects

Motion Caddy

1 год назад

5,765 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Motion Caddy
Motion Caddy - 06.04.2023 13:57

Expressions:

//size
margin = 50;

w = (thisComp.layer("TEXT").sourceRectAtTime().width)+margin*2;
h = (thisComp.layer("TEXT").sourceRectAtTime().height)+margin*2;
[w, h]


//left text position
content("Rectangle 1").content("Rectangle Path 1").size/2


//right text position
content("Rectangle 1").content("Rectangle Path 1").size/-2

Ответить
sepina ss
sepina ss - 08.11.2023 12:27

thanks very much for this man, if i want to have a separate shape for each line what should i do? please 🙏

Ответить
Styn dirkx
Styn dirkx - 01.11.2023 23:05

can you animate the size of the text and then the shapes follow the size of the letters?

Ответить
David Brammell Jr.
David Brammell Jr. - 21.09.2023 15:15

How can I modify this expression so it only adjusts the shape's width and not height?

Ответить
Marina Buchneva
Marina Buchneva - 03.08.2023 16:54

Thank you, very useful video🔥❤ I have a question: if we want to duplicate the text and the shape layer, the expression needs to be rewritten every time, but is there a way to duplicate the layers so that you don't have to change the expression every time?

Ответить