Activity › Forums › Adobe After Effects Expressions › Shape Trim Path matching Line Rotation? Adobe After Effects Expressions Shape Trim Path matching Line Rotation? Posted by Navarro Parker on May 29, 2013 at 9:08 pm How would I get the 0-360° rotation of a line to match the 0-100% trim path operation on a circle shape? So that the edge of the circle always lines up with the tip of the line. Dan Ebberts replied 13 years, 3 months ago 2 Members · 3 Replies 3 Replies Dan Ebberts May 29, 2013 at 9:15 pm It should just be some form of this: tp = thisComp.layer(“Shape Layer 1”).content(“Ellipse 1”).content(“Trim Paths 1”).end; linear(tp,0,100,0,360) Depending on how you have it set up might need to add the result to (or subtract it from) some offset angle. Dan Navarro Parker May 29, 2013 at 10:14 pm I see… so it’s like a range mapper! Cool. If I needed to reverse the process (I forgot I had the rotation already pickwhipped to a null), would it look like: tp = *pickwhip rotation* linear(tp,0,360,0,100) Dan Ebberts May 29, 2013 at 10:19 pm That sounds right (again, depending on how you have it set up). Dan Reply to this Discussion! Login or Sign Up Public All Members My Connections Only Me PublicAll MembersMy ConnectionsOnly Me Public All Members My Connections Only Me Reply to this Discussion! Login or Sign Up