Still have questions? Join our Discord server and get real time help.
Log in to vote

How to change cursor icon when using GUI?

Asked by 3 months ago

I've implemented a custom cursor icon into my game, but whenever you hover over GUI objects, it displays the default mouse. I tried to make a script that resets the custom icon if you hover over a GUI object, but that doesn't seem to work either. I also can't seem to find any alternative method to set the mouse icon (e.g from userInputService). In case it helps, this is the script I used to set the mouse icon (located in StarterGui):

player = game.Players.LocalPlayer
mouse = player:GetMouse()

mouse.Icon = "rbxassetid://167166957"

The only way is to do the hover thing, but i am not sure about click detectors. Fad99 286 — 3mo

1 answer

Log in to vote
Answered by
Omzure 82
3 months ago
Edited 3 months ago

the solution to this may answer your problem

This did help, thank you! NoahsRebels 100 — 3mo

Answer this question