Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How to change cursor icon when using GUI?

Asked by 3 years 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"

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

1 answer

Log in to vote
1
Answered by
Omzure 94
3 years ago
Edited 3 years ago

the solution to this may answer your problem

https://devforum.roblox.com/t/mouse-cursor-override/402376

0
This did help, thank you! NoahsRebels 99 — 3y
Ad

Answer this question