-
Checkbox Control
I’m setting an checkbox control control to turn off a text layer, the layer with the expression is nested in the main comp.
my problem is I’m duplicating(versioning) the main comp and the main comp name will be change to a different names. Is there a generic name I can use for “main comp” so I won’t have keep updating the expression.
for example, I have a text layer that is nested in the main comp which uses name “Comp 501,”. I’m making several duplicates of the comp, so there will be a Comp 502, Comp 503, Comp 504, and so on. I just need a generic name for the “main comp.” so I don’t have to go into every comp and retype the new comp name, is there an easier work around for this.
the expression is on the opacity.
if(comp("Comp 501").layer("Null 1").effect("Checkbox Control")("Checkbox")> 0) {100} else {0}