Simple, I got a surface GUI and some buttons, when I press the button it doesn’t press unless the SurfaceGui Is AlwaysOnTop
I just tried this out and my buttons worked regardless in my test, is your textbutton or imagebutton selected “Active”?
No only the surfaceGui has active selected to true
try setting the button to active.
Still doesn’t work only if I set it to AlwaysOnTop
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
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!