-
“must be scalar” error
Hi all,
I’m trying to have a layers scaling follow a Slider control, which works just fine, even with a time offset for the child layers in point implemented. The last functionality I want is to multiply the incoming value from the master with whatever value the child was originally set to, so that the processed animation ends up at for example 80%, instead of 100%. When I input the solution below I get an error stating “one argument to mul() must be scalar”. I’ve tried to searching for an answer but to no avail.
Any help would be greatly appreciated!
offset = thisLayer.inPoint;
orgValue = transform.scale;
animValue = thisComp.layer("Anim Master").transform.scale.valueAtTime(time - offset);
newValue = orgValue*animValue;
newValue