-
Setting Layer Postion
I am working a project with nearly 400 layers, and have been using Expressions to place the layers in time(time remapping) and position.
But have started playing in extendscript to write a script that can place the layers in time and position before rendering, to save evaluating the expressions every frame.
I have successfully got my layers to start at the correct time, but when I try to set their position they don’t move and the script reports no errors, any ideas how this is done.
Thanks,
Stephenvar selectedLayers = app.project.activeItem.selectedLayers;for (i = 0; i < selectedLayers.count-1; i++) {
selectedLayers[i].position = [100,100]; //just an example position//also tried
selectedLayers[i]("position") = [100,100];
selectedLayers[i].position.value = [100,100]; //returns value is readonly
selectedLayers[i].postion.setValue = [100,100];
}