ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

Can you fix my Script?

COW Forums : Adobe After Effects

FAQ   •   VIEW ALL   •   ADD A NEW POST   •   PRINT
Respond to this post   •   Return to posts index   •   Read entire thread


Mariano Garcia
Can you fix my Script?
on Jul 31, 2019 at 6:02:43 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"


Posts IndexRead Thread 


Current Message Thread:
  • Can you fix my Script? by Mariano Garcia on Jul 31, 2019 at 6:02:43 pm





podcasts
© 2019 CreativeCOW.net All Rights Reserved
[TOP]