I have difficulties to solve problems with a project that is a little bit complex.
*I have a text layer used as “source text”.
* 3 text layers, for 1 line / 2 lines / 3 lines text, with opacity linked with the number of lines in the “source text”. I control the text with essential graphics. The size of the text for 1 line or 2/3 lines is different.
* I have a dropdown menu too, used to switch between the text, or a logo, or a Live logo using the opacity parameter.
Here is the problem, when I choose “logo” or “live” in the dropdown menu, the text layers do not disappear because they are also linked to the lines number. And I need to have only “text”, or only “live”, or only “logo”.
I need to use a if/or/and / else statement, but I can not find the right way of writing it.
For example, I wrote this in the opacity of the 2 lines text layer:
Generally, if you have multiple conditions to evaluate, you can just drop the individual results into boolean variables and then evaluate them all in the final line of the expression. This is just an example, I have no idea if it actually does what you need: