How can I create HUD sliders?

Is there such a thing as a slider that I can put on the HUD and can adjust in real time while playing the game using mouse input, for example to change the value of a variable that is used by some Actor?

I couldn’t find anything similar in the Content Examples.

Howdy!

Try checking out the Content Examples Animation map, under section 1.3 is an example of a Slider system which affects the Direction and Speed variables assigned to the character who is in the example.

Hope this helps!

-W

If you find an answer before I do please post.

Thanks for the suggestion. I’m looking to do this, but then in 2D and using a mouse cursor on the HUD.

I was able to migrate the BP_Slider from the example to my test project. In order for it to function using the migrate folder you have to right click on the content browser BP_slider file and choose migrate, and I believe it is the content folder of the project you are working on (use a test project so as not to damage your work. You also need to configure the game mode and physics demo controller the same as in the examples. These files make calls to the slider in order for player interaction. I’ve studied the slide for several days and to me it is complicated.

The way of going about it would be to set an event tick and a floating parameter. Maybe if you could adjust the parameter in the level blueprint with only using a + or - key. I am trying a similar thing with turntable decks and the BP_slider is the best example in the provided content I can think of . Look into the health examples too. After a player picks up health it updates the HUD. If you press the + to increase a variable or parameter of say character speed the health system should also get a call to update.

Also, I am finding Tesla Dev on You tube helpful from his tutorials for examples like this. I have not watched his tuts on a hunger system. This may also be an avenue to find answers. If all else fails keep reading the documentation.

Please post if you find an answer.

If you want a slider system for the HUD, try out the sliders from my system here.

Hope that helps!
-Peace