Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Can you fix my Script?

  • Can you fix my Script?

    Posted by Mariano Garcia on July 31, 2019 at 6:02 pm

    Hello! I’m trying to create an After Effects script that changes the position of the first layer of every comp in my project.

    Here’s my current script:
    ————————————————–
    var theComp = app.project.items;

    var theLayer = theComp.layer(1);

    var changePos = theLayer.position;

    changePos.setValue([540.0,1005.0,0.0]);

    ————————————————————-

    It works when I put “activeItem” but not with “Items”

    Tomas Bumbulevičius replied 7 years, 1 month ago 2 Members · 1 Reply
  • 1 Reply

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