Answered
How to get a maskPath.points() using valueAtTime()?
Trying to achieve this:
thisMaskPath = thisComp.layer("LayerName").mask("Mask 1").points()[0][0].valueAtTime(0);
//or
thisMaskPath = thisComp.layer("LayerName").mask("Mask 1").points()[0].valueAtTime(0);
//or
thisMaskPath = thisComp.layer("LayerName").mask("Mask 1").points().valueAtTime(0);
All the above throw an error
The following:
thisMaskPath = thisComp.layer("LayerName").mask("Mask 1").valueAtTime(0);returns an object, but then the following throw errors
thisMaskpath.points()[0][0];
thisMaskpath.points()[0];
thisMaskpath.points();