[jim lefevre] "maskOp = thisComp.layer("MOON_REVOLVE").transform.orientation[1];
if (maskOp > 90) AND (maskOp <270){
[100];
}else{ [0] ; }"
if((maskOP > 90)&&(maskOp < 270))
The && is an operator that will return true only if the statements on both sides evaluate to true.
There is also the || operator which will return true if one of the statements on either side is true (the 'OR' operator).
If you're doing this to make the layer invisible when pointing away from the camera there's a better solution:
http://motionscript.com/design-guide/invisible-facing-away.html
Darby Edelen