Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Position Expression with integer number

  • Position Expression with integer number

    Posted by Gabriel Rocha on June 22, 2009 at 8:18 pm

    Hello,
    I`m trying to do something thaty i believe its simple.
    I have a text on a comp, tracked to a moving point. I want this text to display the position on the comp. i`m using this expression to show the position:
    thisComp.layer(“tracker_Plant01a”).position[1]

    I`m getting the position but i`m getting a huge number. something like:
    201.3432898478
    I ‘d like to get a smaller number. An integer number. Something like:
    201

    How do i do that?
    Thanks in a dvance!

    http://www.gabrielrocha.com

    Gabriel Rocha replied 17 years, 1 month ago 2 Members · 2 Replies
  • 2 Replies

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