Thank you! One more basic question, as I am fairly new to expressions and that would be using a layer control expression to control which text layer is on and the others are off. I have a null object with various expression controls one of them is a layer control. For example, should I choose layer two, which is a text layer, I want that layer to be at full opacity and the others off. Provided below is an example, where the question mark represents where I am confused. Thank you for taking your time to answer our questions and thank you to the Cow team for having this forum.
layer = thisComp.layer("Goal").effect("Layer Control")("Layer");
if (layer==?) 100
else 0
The number two would indicate that layer 2 was selected and this is the one that I want to see.
The expression is applied to the opacity of the text layer.