-
get property of layer by index
I’d like to use the same effect for a bunch of layers where I’m basically just linking only X or Y position of a parent layer. But I’d have to change the expression over and over.
So I’d rather just have to keep the layers in order. So it’d be layered parent, child for X, child for Y, next parent, child for X, child for Y.
So what I’m after is calling the position of the parent, but rather than using it’s name, it’s index. So i’d figure out my current child parent index and just subtract 1 (or 2 for the second child) so that they are pointing to the parent layer.
But I can’t figure out how to change a layer property based on a specific index.