SurfaceGui wont click

Simple, I got a surface GUI and some buttons, when I press the button it doesn’t press unless the SurfaceGui Is AlwaysOnTop

2 Likes

I just tried this out and my buttons worked regardless in my test, is your textbutton or imagebutton selected “Active”?

1 Like

No only the surfaceGui has active selected to true

1 Like

try setting the button to active.

1 Like

Still doesn’t work only if I set it to AlwaysOnTop

1 Like

May be a bug, try restarting studio and re-doing the process.

It happens like on every surface Gui

Have you found a solution to this yet?

Can’t remember but make sure that there’s like no parts like there was in my case before the UI

1 Like

SurfaceGUIs need to be in StarterGui (or the player’s playergui during runtime) to detect input. This is not a bug.
I’d recommend doing research before asking for help.

Edit: didn’t realise this is a year old, @roblox_user_27612039 @Ie_fishe here’s the solution

Thank you, the issue for me wasn’t actually the misplacement of the script but a bug with the parenting when loading the game, all fixed now!