-
Scalar property Error
Hi!
I am trying to make a hover reveal effect. But it keeps asking for a scalar property.
I have this expression on the opacity layer of the hover.
a = thisComp.layer(“Null 1”).transform.anchorPoint;
s = thisLayer;
f = s.sampleImage(a,[.1,.1])[3];
linear(a,0,1,0,100);
the error I get is as follows
error: argument 1 of linear() has to be scalar
What does this mean and how do I solve it?