-
ValueAtTime Scale and Index
I have this code
x=thisComp.layer(index+1).transform.scale[0] + thisComp.layer("CONTROL").effect("Gap")("Slider");
y=thisComp.layer(index+1).transform.scale[1] + thisComp.layer("CONTROL").effect("Gap")("Slider");
[x,y]which looks at the layer below and increases the scale by the value defined by a slider
but i would like to also add this code and combine the two so they work together.
delay = 5;
d = delay*thisComp.frameDuration*(index + 1);
a= thisComp.layer("Shape Layer 1").transform.scale.valueAtTime(time - d)[0];
[a,a]basically so i can create a ripple effect. How can i do this?
Thanks!