Text Button under SurfaceGui is able to be clicked through ScreenGui

Hello
I’m wrapping up my game and during testing I found that you are able to click a text button on a surface through a ScreenGui I tried changing the Zindex, however this issue prevails. How can I get around this?

Thanks

1 Like

If you create a transparent text button with no text, sizedfrom scale 1,1 and parent it to the screengui (lowest z index if there are other buttons as siblings), this should sink the input and prevent it from passing through.

1 Like