-
ExtendScript: One Layer’s Position = Another Layer’s Position + 100 on Y?
Hello wonderful people! Another ExtendScript question:
How can I have one layer’s position = another layer’s position + 100 on the Y Axis?
Here’s my horrible attempt:
var theFinalOutput = app.project.selection[0];
var layer01 = theFinalOutput.layers[1];
var layer02 = theFinalOutput.layers[2];layer02.property("position")= layer01.property("position")+[0,100,0];
Thanks in advance! 🙂