I have a simple surface gui on a part with a scrolling frame inside, and the scrolling frame features buttons. The issue I’m having isn’t with the code but it’s with actually clicking the button itself. Some buttons seem to only be clickable in certain places? I’m not sure how to explain really, so I’ve attached a few screenshots below.
This screenshot shows how the buttons should work when you hover over them.
This is the issue I’m having, the 2x luck button works perfectly fine whilst this 1x luck button doesn’t.
Only hovering in this place does it let me interact
Same goes for the 4x luck button
Any ideas on how I can fix this would be greatly appreciated.
Hello, I am not sure if you are still having this problem. But here’s my solution
I fixed mine by scaling the part up and ensuring it was not close to the other part. Even if you see the SurfaceGUI, it should still be blocked by that part; make sure it’s distanced from it.
Note that events for UIObjects are only detected if the objects are children of starterGUI. Just set the SurfaceGUI to StarterGUI and set the “Adornee” property to the instance.