I need to offset each layer 500 px on the X axis from the previous layer. Is it possible to do something like (example) previouslayerinstackXvalue + 500 ?
I'd like to do that so when I duplicate a layer it automatically offsets 500px away from previous layer.
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;
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
"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.