You could do it like this. Create a null and that will be your inital position. Add the layer you want to offset above the null layer in the layer stack and this expression:
var offset = 500;
x= thisComp.layer(index+1).transform.position[0]+offset;
y= transform.position[1];
[x,y]
Now every time you duplicate that layer it will move 500 px to the right of the previous layer. Here’s an example project to check out: 4688_positionexpression.aep.zip
Johnny Cuevas, Editor
Thinkck.com
“I have not failed 700 times. I have succeeded in proving that those 700 ways will not work. When I have eliminated the ways that will not work, I will find the way that will work.”
—THOMAS EDISON on inventing the light bulb.