devhelpdev
(devhelpdev)
#1
Hi, i’ve been trying to find a way how do you do these filled icons, which go down according to your health, and also being an image, for example.
Like a food bar, how would i achieve filling the icon up with red, and being able to decrease it
![image](//devforum-uploads.s3.dualstack.us-east-2.amazonaws.com/uploads/original/5X/6/0/2/4/6024a492d31ad482f76195f6c4a3c039ac75069f.png)
Imagine that but with a health icon
![abu](//devforum-uploads.s3.dualstack.us-east-2.amazonaws.com/uploads/original/5X/7/d/6/b/7d6be6010d1403bf4fb9c059d93d51c38b083e09.png)
Icon im using, i want it to be filled with green
1 Like
I was thinking for the first one, you had a frame less in zindex than the image, and make sure the image is transparent, then fill it.
Not sure how to do it with a plus icon like this one.
2 Likes
i think they do it with an image background color then lower it with some other transparent frame
1 Like