ProgressBar in Widgets remain static?

Hello,

My issue is that I have a struct variable called “Stamina” inside my character, which contains the percentage and the current stamina value for the character. However, when I try to show that in a progress bar in a widget I have created, the progress bar doesn’t seem to change/sync with the actual percentage value.

The progress bar binding is bound to the same value as can be seen here,

And then to demonstrate the issue I have created a debug message that shows the exact same value

And here it can be seen that while the actual value is 88, the progress bar still shows it to be 100%

Any ideas why this happens and how I can fix it?

Any help will be appreciated,

Thanks!!

The progress bar value varies from 0 to 1. I bet in your case you need to divide by 100 to fit the bar limits.

That was the case, thanks!