I have this code x=thisComp.layer(index+1).transform.scale + thisComp.layer("CONTROL").effect("Gap")("Slider");
y=thisComp.layer(index+1).transform.scale + thisComp.layer("CONTROL").effect("Gap")("Slider");
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);
basically so i can create a ripple effect. How can i do this?