Is there anyway to prevent the mouse GUI cursor from showing up in-game?
So I have a basic script that will change a local player's mouse icon to a url/decal like so:
1 | local c = script.Parent.Cursor |
2 | local p = game:GetService( "Players" ).LocalPlayer |
5 | if m.Icon ~ = c.Image then |
Cursor (referenced as local variable c) is an imageLabel in case there is any confusion, the local script is also in the starterGui.
And this local script works fine, however whenever a player hovers his or her mouse on an actual gui in-game, the mouse cursor changes to the black roblox 2016 GUI cursor (https://t7.rbxcdn.com/e11c6baf10eb4b67dc01cc9e32c74c73).
Whenever the player's mouse leaves the gui, it goes back to the image in Cursor.Image like normal. BUt what I am wondering is if there is anyway to stop the black gui cursor from appearing whenever you hover your mouse on a gui, and instead keep the cursor as Cursor.Image.