Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Forums Adobe After Effects Expressions Self Referring snap to whole pixels

  • Self Referring snap to whole pixels

  • Navarro Parker

    March 7, 2016 at 7:54 pm

    I’ve been using this old chestnut to keep vector layers crisp:

    newX = Math.round(transform.position[0]);
    newY = Math.round(transform.position[1]);
    [newX, newY]

    Is there a simpler (and easier to remember) way to write this? In the position parameter, something like…


    Neither of these work, of course.

  • Dan Ebberts

    March 7, 2016 at 8:18 pm

    I don’t know if this is any better:



Viewing 1 - 2 of 2 posts

Log in to reply.

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