Adobe After Effects Expressions Forum
Locating Child Layers
Locating Child Layers
by Alex Printz on Oct 25, 2018 at 3:33:27 pm

Hey all, quick question:

is there a way to locate child layers through expressions? There is the thisLayer.parent method to move up the parenting hierarchy, but is there an equivalent to go down? Something that parallels .content(1)(1), effect(1)(2), or something similar? Or are we stuck doing loops through each layer in a project and checking if has a parent and if it's the same name?

Alex Printz
Mograph Designer


Re: Locating Child Layers
by Dan Ebberts on Oct 25, 2018 at 3:39:11 pm

The second one, except I'd use the parent's index instead of its name.

Dann







© CreativeCOW.net