I have a healthbar that works but the problem is when the image of the healthbar shrinks, it moves to the left on overlaps the healthbar back.
From this:
To this:
It overlaps the healthbar back.
The formula I use is:
imagewidth / maxhealthvariable * currenthealthvariable
It works fine but the image slowly moves left when it shrinks.
Hope someone will help me out. Thanks in advance!
Yup! I forgot to crop it that’s why it has an invisible part an excess that ruins the healthbar. I fixed it now. Thank you @reina@Aesomorph and @Muzan!