Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Quick Question

  • Quick Question

    Posted by Henry on November 1, 2005 at 9:54 am

    I have 42 jpegs. I want them to be aligned perfectly but be about 1500 pixels apart on the z axis. Is there anyway to automate this, instead of going. o, 1500, 3000, 4500, 6000, etc….

    Is there a shortcut?

    Thanks in advance!

    Michael Duff replied 20 years, 6 months ago 3 Members · 3 Replies
  • 3 Replies
  • Mylenium

    November 1, 2005 at 10:28 am

    Assuming they are all in one comp and no other layers get in the way, use an expression:

    X=position[0];
    Y=position[1];
    Z=1500*(index-1); //index starts with one so your layers will never be at zero without subtracting the value

    [X,Y,Z]

    Mylenium

    [Pour Myl

  • Henry

    November 1, 2005 at 10:44 am

    Thanks – I have never used this sort of scripting before on expressions – I applied it to one layer – and got an error: Expression result must be of dimension 3, not 1. Error occurred at line 0.

    They are all in one comp with no other layers. I assume you can apply an expression to multiple layers at once? Otherwise, I may aswell do it the other way.

    Let me know!

    Thank you very much

  • Michael Duff

    November 2, 2005 at 5:40 am

    I am not very good at expressions 🙁 ….. but could you show how to do this using a slider to vary the distance in between……cheers

    Michael Duff –
    Southern Cross Ten, Australia

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy