why is progress bar not being updated?

i’m trying to make a fighting game healthbar

The progress bar works with values ​​between 0 and 1, and you’re doing the division in reverse.

still not working

i removed the division now it works

As far as I can see from the images, you are running it with EventTick() and you have also made a bind GetPercent. Since you did bind, I assume you removed the tick. Also, try entering the divisor value manually. If you get a result, the problem may be in the variable assignments.

yeah, the problem was in the variables. i think i might solve it if i just calculate the value for health, with no division, make damage a simple subtraction count and set health on begin play = max health

solved