Copy link to clipboard
Copied
I have this expression:
if (thisComp.layer("Driver 1").text.sourceText = "HAMILTON" ) {
100;
} else if (thisComp.layer("Driver 1").text.sourceText = "BOTTAS" ) {
100;
} else {
0;
}
It is linked to an opacity control and is not working. The opacity is always on 100% even if the text isn't 'HAMILTON' or 'BOTTAS'. Anyone know a fix?
Thanks
Comparisons require logic operators, not assignments. You need ==, not just =.
Mylenium
Copy link to clipboard
Copied
Comparisons require logic operators, not assignments. You need ==, not just =.
Mylenium
Copy link to clipboard
Copied
I can't thank you enough
Find more inspiration, events, and resources on the new Adobe Community
Explore Now