Skip to main content
AE Screens
Participant
September 9, 2022
Question

How to attach layers to other layers (free script)

  • September 9, 2022
  • 1 reply
  • 1207 views

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

This topic has been closed for replies.

1 reply

Rameez_Khan
Legend
September 12, 2022

Hi @AE Screens

 

Welcome to the community!

Thanks for posting this tutorial. Super helpful 👏

 

Best,

Rameez