Copy link to clipboard
Copied
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?
Copy link to clipboard
Copied
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));