Skip to main content
Participant
August 31, 2024
Question

Geolayers 3 linking to the line inside a shape layer

  • August 31, 2024
  • 1 reply
  • 328 views

Is there a way to connect the map from Geolayers 3 to the end of a line in Trim Paths? I want the map to follow the line as it's being drawn, and I want the line's end to be in the center of the composition each time. I haven't been able to find any information on this. Is it even possible?

This topic has been closed for replies.

1 reply

Participant
August 31, 2024

I tried to modify this code that I wrote for another project previously but nothing helped me (this is a code that applies to the Position of a layer, and it follows the end of the line in Trim Path). 

alayer = thisComp.layer("Union");
bpath = thisComp.layer("Union").content("Union").content("Path 1").path;
pos = alayer.toComp(bpath.pointOnPath(alayer.content("Union").content("Trim Paths 1").end/100));