Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions toWorld valueAtTime

  • toWorld valueAtTime

    Posted by Frederic Antoinette on June 14, 2018 at 7:16 am

    I have always had problem with the toWorld/toComp/fromWorld/fromComp.

    Right now I’m just trying to figure out the position of a parented layer at the inPoint of the layer I want to place there

    My expression is here

    L = thisComp.layer(“C_Nagoir-Back Tip”);
    L.toWorld(L.anchor_point.valueAtTime(thisLayer.inPoint));

    Put it keep moving, it keep following the C_Nagoir-Back Tip position.

    i’ve also tried

    L = thisComp.layer(“C_Nagoir-Back Tip”);
    L.toWorld(L.anchor_point).valueAtTime(inPoint);

    but this one gives me an error “L.toWorld()valueAtTime is not a function”

    Can someone explain to me exactily how toWorld works?
    There are several tutorial online and some kind of explanation, but I still don’t get it.
    most of them says something like

    someLayer.toWorld([some coordinates])

    So to be able to really understand this out I’d like to know the way it works.

    meaning what does it do to the someLayer and the someCordinates, to gives its value.

    Thanks

    Frederic Antoinette replied 7 years, 10 months ago 1 Member · 1 Reply
  • 1 Reply
  • Frederic Antoinette

    June 14, 2018 at 7:30 am

    Feeling a bit dumb here, realise that the toWorld has a time property so I got it working with this

    L = thisComp.layer(“C_Nagoir-Back Tip”);
    L.toWorld(L.anchor_point,inPoint);

    But would still like to understand how it internally works. thanks

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