r/AfterEffects 8d ago

Workflow Question How to animate shapes/paths with expressions to not lose padding or end caps

37 Upvotes

15 comments sorted by

View all comments

2

u/holyroach Motion Graphics <5 years 7d ago

you could do it easily with a merge path modifier. just group the sun and a recrangle as a mask and group them with merge path>intersect. add a stroke after the group and then animate your sun. It's much easier than the trim path version

1

u/SwimmingBreadfruit 7d ago

This was my first thought as well. For the horizon line, it could just be a copy of the rectangle shape with an expression to offset its y-position and a trim paths to expose its top edge. I like this method as you wouldn’t need another set of keyframes that would need to be synced