-
Mask path and linear expression
Hi all!
I’m trying to do a simple setup so that every time I move a layer, a mask path animates.
I know that the problem (at least for my newbieness) about mask path is that there’s no changeable value like any other properties, so I tried to use index key to set a linear expression.
It doesn’t work because the error says “Path object found where a number array or property is needed”.This is not urgent , I can skip this things by simply animating mask keyframes, but I don’t know how to do that, and that drives me crazy.
If anybody can help me, well… Thank you in advice!
var A = thisComp.layer("layer").transform.position[0];
linear (A,0,100,key(1),key(2))