-
Pasting expressions on layers from Photoshop
I’ve brought a Photoshop document into After Effects as a 1920 x 1080 composition, the same size as the PSD. If I look at the layer positions, the position coordinates aren’t all at 960 x 540. Some of them are slightly offset.
The problem I have is if I write the following expression and want to copy it to the other layers:
X=thisComp.layer(“Null 1”).effect(“X position”)(“Slider”);
[value[0]+((index-7)*X),value[1]]If I select the position property to copy the expression, when I paste it to the position property of the other layers it is as though the value is reset to 960, 540 for all the layers. When the slider is at zero, all the layers get a position of 960, 540 and move to the wrong starting position.
If I copy and paste the actual code by enabling an expression first and then copying and pasting the actual code text, then I don’t get this problem. Is this typical behaviour? It’s just a bit more laborious than control clicking all the position properties and pasting.
Thanks,
John
Sorry, there were no replies found.