Hi
great expressions guys!!
I also would like to add a sound effect to this animation.
Everything is build up and i’ve also got an appropriate audio file.
A Target layer’s opacity is driven by Filip’s great expression.
What i want to achieve now is,whenever the target’s opacity is 90% i want the audio layer to be enabled.
I applied this expression to the Audio layer’s Audio level:
driver=thisComp.layer(“Target”).opacity;
if(driver=90){
thisLayer.enabled
}else{
0
}
However,it gives me a 2 dimensional error message,why? As both options only have one dimension.