UMG Widget slider to lower or increase button sound

I am currently creating a UMG Widget with a sound slider. The slider will increase or decrease the volume of the buttons click sound in the main menu. The problem is that I don’t know how to reference the sound from the content browser. Whilst selecting a button in the UMG Widget Designer there is an option to add [Pressed Sound] which I have done. If I want to reference that sound, how would I go about doing that?

I don’t think you can do it if you bind a sound through [Pressed Sound], but you can do it like shown below.

You need to create a Sound Cue for your button sound and assign it to the ButtonSound variable inside the Widget (of type Reference to Sound Cue). Volume is of type Float.

The initial settings of Volume determines the starting volume at which the sound will be played. From there on it can be adjusted using the slider.

Hey Marco! Thank you very much for all the help! It’s been driving me crazy for the last 24 hours!

Took me also a bit to figure out. If you don’t spawn the sound first there is no way to control its volume.

Hi marco can you tell me how to animate visibility of multiple object via slider .

Really appreciated
Thanks