If Statement controlling Scale field. Not working.
I'm trying to control the scale through an if statement expression. Innitially I tried to only control the Y Axis but that wasn't working
Here was the first expression i tried:
x = if(thisComp.layer("Audio Amplitude").effect("Both Channels")("Slider") < 4){102}else{100};
[value[0],x]
Then I tried to not control the individual dimensions incase I had written something wrong there.
This was the next expression which isn't giving me an error, but is ignoring the if statement completely.
temp = thisComp.layer("Audio Amplitude").effect("Both Channels")("Slider");
if(temp < 4){102}else{100};
[temp, temp].
What I'd like to do, is control the Y property by looking to a continuously changing slider so whenever the value is greater the 4 that the scale changes from 100 to 102.
Please help, thanks 🙂
