-
Conditional expression needed (if/else) with command “or”
I have this expression which is giving me an error:
if(thisComp.layer(“Null”).effect(“Layer Control”)(“Layer”) == “5”OR “6” OR “7”) “A” else “B”
What I’m after is a condition set where if an operator selects any of these three layers 5, 6 or 7) through the effect(“Layer Control”) then the expression should give reply “A” and if it’s any other selection (1 to 4 or 8 and above) then the expression should give the reply “B”
Any help would be greatly appreciated,
Thanks