How do I do multiple transparencies with one image?

Hi all,

So I know that

$#BLN#<=50?100:0$

will set an image’s transparency to 100 when the battery level is 50% or below, but what if I want that same image to have different transparencies for different battery levels? What I’m trying to do is have a single image fade in as the battery level decreases. Is this possible to do with a single image and one all inclusive expression?

Add to transparency for example: (round(#BLN#/10)*10))

Sets transparency from 100 to 0, step 10.

4 Likes

Fantastic! Thanks!