Copy link to clipboard
Copied
I have this problem, when I write the expression "if (thisComp.layer (" Diamonds / Module 09 - Expressions 1.ai "). transform.opacity == 100) [0] else [100]" gives me the following error "unexpected token 'else' ".
I have checked the expression and it is correctly written. Has anyone else had these kinds of problems?
No, it's not written correctly. Conditionals use sway braces {}, not square brackets [].
Mylenium
Copy link to clipboard
Copied
No, it's not written correctly. Conditionals use sway braces {}, not square brackets [].
Mylenium