Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Accessing x position in a script

  • Accessing x position in a script

    Posted by Jakob Wagner on October 17, 2013 at 2:56 pm

    Hi

    First. This is my first post here, so hi everybody! Have got a lot of help here already just by reading posts.

    I’m simplye trying to do something like this in a script:

    thisLayer.position.x += 5;

    The position values on that layer have been seperated.
    How should this line be to work?

    Thanks,
    Wagner

    Jakob Wagner replied 12 years, 6 months ago 2 Members · 2 Replies
  • 2 Replies
  • Ridley Walker

    October 17, 2013 at 3:37 pm

    [Jakob Wagner] “I’m simplye trying to do something like this in a script:

    thisLayer.position.x += 5;

    If you just want to increase the value by 5 use this:

    value + 5

  • Jakob Wagner

    October 18, 2013 at 7:09 am

    It’s a script, not an expression.

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