FORUMS: list search recent posts

Scaling a rectangle path vertically in one direction only

COW Forums : Adobe After Effects

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Daniel Baznai
Scaling a rectangle path vertically in one direction only
on May 30, 2019 at 10:19:54 am

I have a bar with a stroke and "shadow". Trying to animate it and have it grow vertically in one direction but there doesnt seem to be an anchor point for the rectangle path only, and moving the normal anchor point doest seem to affect it. It still grows in both directions (this means having to keyframe the position to have it stay in place, which later might be a pita if I need to modify something else).

This is the shape I need to grow up direction only.



How do I do this? Using the layer scale distorts the corners, using the rec path scale makes it grow up and down.


Return to posts index

Kalleheikki Kannisto
Re: Scaling a rectangle path vertically in one direction only
on May 30, 2019 at 4:01:00 pm

You can use the position property of the rectangle to keep it in place as the y size changes. If you want to grow the rectangle up, the position expression would be (layer and path names may be different in your case):

yPos = content("Rectangle 1").content("Rectangle Path 1").size[1]/2;
value-[0, yPos]


Kalleheikki Kannisto
Senior Graphic Designer


Return to posts index

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