Progress bar Binding is not working



image

This is my project Image to binding progress bar but it doesn’t work. Help

Hey @wonderwalker2,

Looks like you are trying to update the slider value from outside of the widget. I suggest passing the value to your widget then updating there.

Let me know if this works for you!

I found something.

It works with update on tick.

But doesn’t on timeline function.

It should work on the timeline. What does it’s internal curve look like. Does it start from zero and go to the maximum amount needed for the Radial Slider?

You need to be setting the variable that is within the widget. So get a reference to it and during the update of the timeline pass in the new variable value into the widget itself (you can create a function within the widget to convert values if needed).

It works. Thanks!

  1. Make variables into the widget.
  2. Cast widget at BeginPlay on blueprint and promote to variable.
  3. Change widget variable on blueprint directly.

You could even ditch the cast and just implement an interface on your widget blueprint. 1 less hard reference & cast.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.