Buttons make sounds even when below other UI Elements (EDITED)

I’m not sure if this is the right category, but I was testing out a loading screen for my game, until I noticed that buttons are still able to be pressed and it also still makes the hover sound for it in the loading screen, I don’t know how to fix it, I tried looking for a fix but my search was too specific for Google to find one.

Edit: I could’ve just moved the entire UI using a script and make it so that the loading screen is above everything else, therefore the buttons won’t be pressed, I’m an idiot

1 Like

Hey!
You could just set the buttons inactive when you press it and in the script of the hover sound you could add an if and check if the button is active. If active it would play the sound otherwise it wouldn’t.
Hope I helped you :grinning:!

Btw: Nice UI!

I got it so that it’s inactive when pressed, but how could I make it so that it’s active again? Buttons could only be pressed once.

Nevermind I got it, I could’ve just moved the entire UI using a script and make it so that the loading screen is above everything else, therefore the buttons won’t be pressed, I’m an idiot

oh ok!
Hope I helped u XD.
Have a nice day :grinning: :wave:

I put 4 Parents to be able to do this can’t wait for the 5th installment