thisComp is not defined.
Hey, all!
I'm having a problem with an expression in After Effects. What I want to do is make one shape scale up after the layer under it, with a few frames of delay. Think a sheet of hexagons growing out from one point on the screen.
I've found this expression to do it:
var S=thisComp.layer(index+1).transform.scale;
var D=thisComp.layer("Adjustment Layer").effect("Slider Control")("Slider")*thiscomp.frameDuration;
S.valueAtTime(time-D)However, I keep getting this message:
After Effects warning: Expression Disabled
Error at line 1 in property 'Scale' of layer 26("2") in comp 'First Line".
ReferenceError: thiscomp is not defined
What am I doing wrong? How would I even define thisComp? I thought it would just indicate the current composition layer.
Please help! Thanks.
