Resizing the progress bar on key down

Hi, I am trying to make a progress bar that changes size when I press F key. In my character blueprint, I have the event that works fine but it doesn’t resizing the progress bar it changes the percent of it. (I don’t want the gray area)




Hey there, progress bars work using a normalize value, 0 empty, 1 full. If your get percent code (a screenshot of this would be helpful) gets the health and divides it by max health, then you’ll have that issue. You have to change the max health part so that it resizes without losing any percentage.

if your only looking to eliminate the gray area then go to the details panel with the bar selected. go to the style section: style → background image-> draw as. and change draw as to none.

Thanks, that worked!