• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Geolayers 3 linking to the line inside a shape layer

New Here ,
Aug 31, 2024 Aug 31, 2024

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?

TOPICS
Expressions , How to , Scripting

Views

63

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Aug 31, 2024 Aug 31, 2024

Copy link to clipboard

Copied

LATEST

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));

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines