Making a roblox surface gui click detector work

Getting a roblox surface gui click detector to actually function in your game can be a bit of a headache if you don't know the specific hierarchy requirements. You might have tried sticking a standard ClickDetector inside a part and then throwing a SurfaceGui on the face of that same part, only to realize the mouse icon doesn't change or the clicks aren't registering. It's a common frustration, but the fix is usually just a matter of understanding how Roblox handles input on 2D interfaces versus 3D objects. ...

February 5, 2026 · 7 min · Varam Gestin