Hello,
Context: - I’m making a SurfaceGui button for my game.
Problem: - To press the button, your character has to be very close (almost touching) the part of which the button is being displayed on.
The button is in PlayerGui, and is then displayed onto the appropriate part in the workspace using the Adornee property of the SurfaceGui.
I have got no idea how to increase the clickable range of the button, as there is no property in the button to allow you to do this. Could this be through the ZOffset, ToolPunchThroughDistance, ZIndexBehavior or LightInfluence properties?
Any advice/solutions you can give would be appreciated.
Tweakified

7 comments
make it into a click detector instead
Later in my script, I change the text of the button. I need this to be local to the client. A click detector would not give this result. Is there a quick fix to the SurfaceGui range?
Actually i just tested it in studio and the surface gui has a huge range can i see your code?
script.Parent:FindFirstChild("Button").MouseButton1Click:Connect(function()
I mean the whole of the code edit your answer and post it in a lua block
I am out at the moment. I will get back to you.
I managed to fix this by changing to ClickDetectors. Thanks for your help