-
Delay effect with Slider Control?
Hi,
i’m trying to achieve a delay effect and found several ways.. This expression with Slider Controls seems to be a good way for me:
opc=thisComp.layer(“CONTROL”).effect(“opc”)(“Slider”);
thisComp.layer (index+1).transform.opacity.valueAtTime(time-opc)Its working…
Now my Question.. 😉 If i have for example two text layers with different Y-Values, for Text_01 I animate position up in y and opacity from 0 – 100. Now i want the Text_02 Layer to do the same as the other layer – but from ITS own position and with a certain delay.
I tried to transfer the expression to the position value – but its of course not doing what i want.
pos=thisComp.layer(“CONTROL”).effect(“pos”)(“Slider”);
thisComp.layer (index+1).transform.position.valueAtTime(time-pos)So can anybody tell me how to do this? How can i give the second layer a delay (with slider control) in the postion value, FROM its own position up (or down) e.g. 50px. Sounds confusing, hope u can follow along.. 😀
I’ve no knowledge in expressions, but would be really cool to get this running.
Looking forward to your answers!
Thanks in advance,
Rob
opc=thisComp.layer("CONTROL").effect("opc")("Slider");
thisComp.layer (index+1).transform.opacity.valueAtTime(time-opc)pos=thisComp.layer("CONTROL").effect("pos")("Slider");
thisComp.layer (index+1).transform.position.valueAtTime(time-pos)