Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Forums Adobe After Effects Expressions Arrow point out position of other shape

  • Arrow point out position of other shape

  • Nick Lx

    March 5, 2020 at 9:20 pm

    Hey,

    I’m trying to figure out how to track a shapes position and point it out by using an arrow.
    Is this possible?

    example:

  • Andrei Popa

    March 6, 2020 at 8:33 am

    This to the rotation of the arrow:

    p2 = thisComp.layer("Arrow Layer").toComp([0,0]);
    p1 = toComp(anchorPoint);
    v = p2-p1;
    radiansToDegrees(Math.atan2(v[1],v[0]))

    This expression was offered as solution by Dan Ebberts in this thread

    Andrei
    My Envato portfolio.

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