Satisfy 2 conditions?

How do I write an expression to satisfy 2 conditions?

100% opacity is required when

((#Db#*60)+#Dm#)>90

and

((#Db#*60)+#Dm#)<151

Tried this but I am obviously getting something mixed up

$((#Db#*60)+#Dm#)>90?&&((#Db#*60)+#Dm#)<151?100:00$

1 Like

If there’s no mistake, it should look like this, you have an extra “?”

$((#Db#*60)+#Dm#)>90&&((#Db#*60)+#Dm#)<151?100:00$
4 Likes

Oooh, that’s cool! Didn’t know we could apply &&, will save me creating duplicate layers with alternative opacity conditions… Nice one!

2 Likes

Just be careful ; not all watch models (mostly those running WearOS) play nice with complicated conditionals like this. Sometimes it works, sometimes not… YMMV.

2 Likes