How to attach layers to other layers (free script)

New Here ,
Sep 09, 2022 Sep 09, 2022

Copy link to clipboard

Copied

Parenting in After Effects is pretty straightforward. But when you change the actual text, path, or size of a parent layer, the children don't always follow how you'd want them to (kids...amirite?).

 

Thankfully, this is fixable with an expression using sourceRectAtTime(). But the downside to using an expression like this is that it will break the current layout and position of your child layer. So I made a free script to automatically attach layers to the bounding box of their parent. The script applies an expression using sourceRectAtTime(), but keeps the current position as-is.

 

Pretty easy to use and you can set both horizontal and vertical constraints. I made a tutorial here:

 

Download Parental Controls for free here: https://aescreens.com/tools/parental-controls

TOPICS
Expressions , How to

Views

50

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Sep 12, 2022 Sep 12, 2022

Copy link to clipboard

Copied

LATEST

Hi @AE Screens

 

Welcome to the community!

Thanks for posting this tutorial. Super helpful 👏🏻

 

Best,

Rameez

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines