Skip to main content
Inspiring
October 22, 2017
Question

Find path progress at specific point

  • October 22, 2017
  • 1 reply
  • 630 views

Hi

Thanks to Adobe for adding path access through expressions, that's awesome.

With this expression I can set anothers layers position to be exactly half way on a path.

var pathLayer = thisComp.layer("Shape Layer 1");

var progress = 0.5;

var pathToTrace = pathLayer("ADBE Root Vectors Group")(1)("ADBE Vectors Group")(1)("ADBE Vector Shape");

pathLayer.toComp(pathToTrace.pointOnPath(progress));

My question is; is there a way to get the progress for specific Point (anchor/vertex) on the path. Say the path is made out of five points, can I somehow get the exact progress for the second point?

Did that make sense? If not please ask.

Thanks,

Jakob

This topic has been closed for replies.

1 reply

UQg
Legend
October 22, 2017

https://forums.adobe.com/people/Jakob+Wagner+2048  wrote

Thanks to Adobe for adding path access through expressions, that's awesome.

++thanksCount;