Copy link to clipboard
Copied
Say you have an adjustment layer, and it contains an effect, then you duplicate it, is it possible to set the parameters of the effect to link to the parameters of the layer below/above using a relative reference like index-1 or something? curious
Here are some fun index comps: 11236_layerindexandsourcerectattime.aep.zip
Copy link to clipboard
Copied
are you familiar with copy with property links? since that tutorial, there's also "copy with relative property links". here's more in-depth information about it: favorite features in CC versions of After Effects: property links | Creative Cloud blog by Adobe
Copy link to clipboard
Copied
Also, yes, you can use layer indexes to reference layers above and below. I am currently using it in a project with the sourceRectAtTime expression to make text boxes the right size for the text layer above them.
Copy link to clipboard
Copied
sounds great, would you mind demonstrating how to address a layer by relative index?
Copy link to clipboard
Copied
Here are some fun index comps: 11236_layerindexandsourcerectattime.aep.zip
Copy link to clipboard
Copied
Thanks Szalam, that's awesome, great examples. I didn't know it was as simple as thisComp.layer(index-1)
Copy link to clipboard
Copied
Yup. Tons of fun can be had with that.