Inspiring
Nov 9, 2021 2:23 PM UTC
Answered
If else and If else if else expressions not working
- 2 replies
- 342 views
- Translate
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
