Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Dividing Y Pos by 2

  • Dividing Y Pos by 2

    Posted by Jeffrey Fitzgerald on March 3, 2010 at 4:59 am

    What am I doing wrong with this simple attempt to chop my Y position value in half? I have tracking data that was used in a comp twice the size of this one.

    I keep getting an error… Thanks.


    y=thiscomplayer("null")transform.position[1] / 2;
    [1024,y]]

    Jeffrey Fitzgerald replied 16 years, 5 months ago 2 Members · 2 Replies
  • 2 Replies
  • Dan Ebberts

    March 3, 2010 at 5:27 am

    It looks like you’ve got an extra closing bracket ( ] ) in the second line.

    Dan

  • Jeffrey Fitzgerald

    March 4, 2010 at 5:39 pm

    Thanks Dan. I’m here to make everyone else look smarter :-)… 8 hours sleep in 3 days helps too.

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