[RESOLVED] Slider thumb position won't stay in place after user input

I’ve got another issue that’s gonna require some extra brainpower.

I’m trying to set up a master audio slider in a pause menu. I’ve got the slider working, and by that I mean that when the user drags the thumb on the slider, the audio volume changes accordingly.

However.

Since this slider is in a pause menu, the thumb position wants to reset to its default position any time the user opens the pause menu again after initially changing the thumb position.
Any ideas how I can make the thumb keep its position after the user has moved it and then unpaused/repaused the game??

Right, I don’t need to create/destroy my pause menu every time the game is paused/unpaused. If I’ve got the broad strokes right, I should be able to set it all up where the pause menu widget is created but not displayed in the viewport on event begin play, then when the player pauses the game, the widget should be made visible in the viewport, then made invisible again when the player resumes the level.

As I’m typing this I’ve got the level bp set up so that the widget is created and added to the viewport but set to collapsed. When the player pauses the game, the game pauses and the cursor is shown, but I’m having trouble getting the widget to become visible.

Currently I’ve got the pause function set up as:
Pause Function > (something to make the pause menu widget visible) > Set Input Mode UI Only > Set Show Mouse Cursor = true

In the part of the flow where I’m trying to make the widget visible, I’ve tried the following:

  1. Set (referencing my pause menu widget) > Set Visibility = Visible …
  2. Set Visibility = Visible …

Got it! Thanks for your help EricDarkomen!
I had to take a break from this particular issue for a while, and I came back to it today with fresh eyes; turns out I wasn’t too far off on my blueprint setup. I basically did what you described and just had the menu show/hide on pause rather than creating/destroying it. Now I can scrub that slider all I want and the thumb stays put when I close out of and reopen the pause menu!

A quick outline of my blueprints setup:

  1. Level BP: create widget, promote to variable, add to viewport, set visibility = hidden

  2. FirstPersonCharacter BP, Pause Game function: set game paused = true, get all widgets of class, add to viewport, set visibility = visible, set input mode Game and UI, Set show mouse cursor = true.

  3. FirstPersonCharacter BP, Unpause Game Function: Set game paused = false, get all widgets of class, set visibility = hidden, set input mode game only, set show mouse cursor = false

For posterity’s sake, I’ve also included screencaps for noobs like me who are tired of seeing simplistic responses with an infuriating lack of details.