-
Spacing between layers
So I have a pretty basic setup, I just have a bunch of layers lined up and have a slider control to control spacing, but what I also want, is an additional slider control to control spacing of every 3rd layer, and I’m not sure how to go about that. Here is the current expression I have on all the layers position.
Thanks,
Brian
xPos = thisComp.layer("expression").effect("location")("Point")[0];
yPos = thisComp.layer("expression").effect("location")("Point")[1];spacing = thisComp.layer("expression").effect("spacing")("Slider");
[(xPos)+((index-1)*spacing), yPos]