Is there an easy way to take the position of a layer from the layer above it but with an additional position offset ? For example the layer beneath is 10px down and 10px left of the layer above it. I hope this is clear.
I was thinking something like below although I can’t seem to input the individual x,y,z offsets ??
Any suggestions would be greatly appreciated. If it could also tied in with a slider control to adjust the amount of offset, that would be even better.
Thanks.. I wasn’t sure how to put the offset values into the string. After a little experimenting with your orignal string I’ve figured out how to include a slider to control the offset. In case anyone else is interested, here it is :-
thisComp.layer(index-1).position + [-10,10]
X = thisComp.layer(“OFFSET”).effect(“slideX”)(“Slider”)*1;
Y = thisComp.layer(“OFFSET”).effect(“slideY”)(“Slider”)*1;