Being unable to interact with SurfaceGui because of custom cursor

I have a custom cursor in my game, an ImageLabel that always follows the player’s mouse. However, sometimes I can’t interact with a SurfaceGui, and that sometimes is completely random. In studio it always works, but every time I publish it to Roblox and try it out, it can randomly either work or not work. Does anybody know why this happens?

1 Like

Try setting Active = false on the ImageLabel; it could be blocking input.

I have already checked that off, and it doesn’t work.

Is the SurfaceGui a descendant of the player’s gui (startergui)?

No, it’s a descendant of a part.

Make it a child of the player’s gui and set the adornee to that part, it should help.

I’ve always wondered what the Adornee property was for. It seems to work for now, but if it starts to not work again I will say something. Thanks for the help!

1 Like