Problem with 2 conditions for opacity layer

Hi

The minutes and hours have each 3 possible shadow colours: blue, orange, orange nr.2
(ex. click on minutes/ hours to cycle. that works fine (see under the first link to face)

But I want to be able to toggle between analog and digital too.
So for the shade-layers I have 2 conditions
(see under second link to face).

But it doesn’t work for the shades. Why?

VAR_1 increment: hour
VAR_2 increment: minutes
VAR_3 toggle:

These are the codes:

hour

White
$#VAR_3#=0?100:0$

Blue
$#VAR_3#=0&&(#VAR_1#3%)=0?100:0$

Orange
$#VAR_3#=0&&(#VAR_1#3%)=1?100:0$

Orange2
$#VAR_3#=0&&(#VAR_1#3%)=2?100:0$

Minutes

White
$#VAR_3#=0?100:0$

Blue
$#VAR_3#=0&&(#VAR_2#3%)=0?100:0$

Orange
$#VAR_3#=0&&(#VAR_2#3%)=1?100:0$

Orange2
$#VAR_3#=0&&(#VAR_2#3%)=2?100:0$

1 Like

I am not a Pro . But it seems that the #VAR_3 condition is 0 in all your Tags .
Hopefully a Pro will join in otherwise we will have to Invoke one .

Hi Russel,

VAR_3 = 0 → show digital (white colour + blue, orange, orange2 shades)
VAR_3 = 1 → show analog (middle point + hands)

for digital times yes, not for the hands and point

Bye
Nico

1 Like

First thing I see, is that the % should be before the number in your formula.
If that still does not fix it, I’ll have a closer look…

1 Like

Well spottedt @tom.vannes. I am a bit Dyslexic. Looked OK to me. Ha Ha.
Some Parentheses would not go amiss. But that is just me.

Thanks Tom, that did the trick :upside_down_face:

1 Like

Still one more thing. The preview watch/ tools only seems to work with the sliding bar tool. Not by clicking the interactive zones.