Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Scalar property Error

  • Scalar property Error

    Posted by kees mansvelder on February 15, 2021 at 3:47 pm

    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?

    kees mansvelder replied 5 years, 5 months ago 1 Member · 1 Reply
  • 1 Reply

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy