Scaling a rounded rectangle without Distortion with After Effects Expressions (demo)

Scaling a rounded rectangle without Distortion with After Effects Expressions (demo)

Taco Taco

7 лет назад

15,840 Просмотров

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


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

@R00ZBEH
@R00ZBEH - 14.08.2022 22:30

Thanks a lot! 💙❤

Ответить
@jonassteger-jensen4136
@jonassteger-jensen4136 - 25.04.2022 17:38

Doesnt work. Cant move the rectangle in 2021

Ответить
@kimmik7132
@kimmik7132 - 03.04.2022 09:40

Hi, how do I change the anchor point of the shape? I did center the anchor point but it scales on one side.

Ответить
@trevorduppart8841
@trevorduppart8841 - 04.03.2022 09:47

My favorite part is how you gave zero instruction on how to do it.

Ответить
@whytf8175
@whytf8175 - 11.10.2021 13:36

after effects really is some of the worst software ever made in human history

Ответить
@OtakuBhai
@OtakuBhai - 10.10.2021 17:55

thanks man for the video, it really solved my problem

Ответить
@DavidLindgren89
@DavidLindgren89 - 09.01.2021 16:52

Use this to scale it to only one direction (both vertically and horizontally):

scaleX = content("Rectangle 1").content("Rectangle Path 1").size[0]/2*-1;
scaleY = content("Rectangle 1").content("Rectangle Path 1").size[1]/2*-1;
[scaleX,scaleY]

(Change "Rotation" to 180 if you want to scale the other direction.)

Ответить
@TrangBui-bt3nl
@TrangBui-bt3nl - 25.03.2020 07:07

Hi @Jeff,


Thank you for the video. I'm having trouble using your expression as after I paste it in, the shape disappears. I used your demo file below in another comment. Any idea how to fix it?

Ответить
@RazvanComache
@RazvanComache - 06.11.2019 04:17

I am trying to scale the rectange in horizontal direction, without luck :(

Ответить
@bfshinn
@bfshinn - 08.10.2019 01:05

How do you make it scale from the center? I moved the anchor point to the middle, but it still scales from the bottom.

Ответить
@ChawdanGamer
@ChawdanGamer - 07.12.2018 06:45

scaleX = 0;
scaleY = content("Rectangle 1").content("Rectangle Path 1").size[1]/2*-1;
[scaleX,scaleY]

Ответить
@mirmohsenmasoomzadeh5385
@mirmohsenmasoomzadeh5385 - 27.06.2018 10:29

hi my friend
Excuse me
I have a problem doing this
i copy this expression and paste that to expression position according to your video
but After effects have an error with subject : expression disable ...

Ответить