PointOnPath undefined?
I keep getting the error that Point On Path in the variable is undefined, no matter how complex I make this script. Can anyone see where I am going wrong?
Code for reference:
var path = thisComp.layer("Shape Layer 5").content("Ellipse 1").content("Ellipse Path 1").path;
var trimPath = thisComp.layer("Layer 12 Outlines").content("Trim Paths 1").end / 100;
var targetlayer = thisComp.layer("Layer 12 Outlines");
var piont = path.pointOnPath(thisComp.layer("Layer 12 Outlines").content("Group 1").content("Path 1").path)
targetlayer.toComp(piont)
