Expression to offset layers in position as well as time
I was looking at Motion Array's tutorial regarding this same task however there seems to be an issue that I can't figure out.
I have used the below code but the result I get is that the first layer does exactly what I need but any subsequent layer is offset positionally only half of the first (ie if the first layer is offset by a value of 270px, all other layers are only offset by 135px. To fix this I turn off every second layer but this seems like its not right.
Any insights would be very much appreciated.
m=index-4;
d=thisComp.layer("Controller").effect("Delay")("Slider");
p=thisComp.layer("Text Box 1").transform.position.valueAtTime(time-d*m);
ox=thisComp.layer("Controller").effect("X Offset")("Slider");
oy=thisComp.layer("Controller").effect("Y Offset")("Slider");
[p[0]+ox*m,p[1]+oy*m]
