Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Wiggling a “to world” position…

  • Wiggling a “to world” position…

    Posted by Erin Shelby on November 1, 2007 at 5:46 pm

    I am using a world position coordinate of another layer:

    L = thisComp.layer(“positionlayer”)
    G = L.toWorld(L.anchorPoint);

    but I figure I wanted to add a little wiggle to this layer that was using the ‘positionlayer’s position. So….

    L = thisComp.layer(“positionlayer”)
    G = L.toWorld(L.anchorPoint);
    wiggle(12,10);

    But what I found is that the wiggle layer does not follow (and slightly wiggle) along with the positionlayer anymore. Do I have to write a more complex expression – or is this just some syntax I’m getting wrong here…?

    Erin Shelby replied 18 years, 6 months ago 2 Members · 2 Replies
  • 2 Replies
  • Dan Ebberts

    November 1, 2007 at 6:40 pm

    This should do it:

    L = thisComp.layer(“positionlayer”)
    G = L.toWorld(L.anchorPoint);
    G + wiggle(12,10) – value;

  • Erin Shelby

    November 1, 2007 at 7:02 pm

    Amazing stuff, thanks Dan!

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