-
Reach Composition Effect
Hello Everybody,
I’m looking for an expression that could reach a checkbox in another comp:
The CompA is placed in the Comp1.
I need to change the CompB anchor point point if the Comp1’s checkbox is on.
So this is basically my actual expression:
if(comp(“Comp1”).layer(“CompB”).effect(“EffectName”)(“Checkbox”) == 1 ) y = 0 else y = 1080;
That expression work fine, but in my case, I want to duplicate CompB a lot in Comp1 (like 500 times).
If I use this expression, all the duplicated compositions will be connected to the CompB’s checkbox.
Or I would like each layer intendant with its own checkbox.Is there any clue for me?
Thanks in advance for your replies.
Tommy