ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

absolute position on separate dimensions

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
ken quemuel
absolute position on separate dimensions
on Apr 30, 2019 at 1:30:50 am

hello! i've seen the absolute position through null post (https://forums.creativecow.net/docs/forums/post.php?forumid=227&postid=3790...) and it's been infinitely helpful, and now i'm curious about being able to get the same absolute path but on separate dimensions. i'd like to find the position of a null that's parented to an existing animation but only need the x axis position. what would be the best way to break up the existing expression?

thank you,
ken

L = thisComp.layer("child layer");
L.toWorld(L.anchorPoint);


Return to posts index

Dan Ebberts
Re: absolute position on separate dimensions
on Apr 30, 2019 at 3:48:03 am

I think this is what you're asking for:

L = thisComp.layer("child layer");
x =L.toWorld(L.anchorPoint)[0];


Dan



Return to posts index

ken quemuel
Re: absolute position on separate dimensions
on Apr 30, 2019 at 7:56:25 pm

always the most helpful. thank you dan.


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2019 CreativeCOW.net All Rights Reserved
[TOP]