Custom Mouse Cursor

Hello! So I am trying to make a custom cursor for my game so I made this very simple script. But my problem is that whenever I hover over UI it shows the default Roblox cursor. Is there any way that I can set it to a hovering cursor? I’m not sure what to do because I can barely script. The cursor also doesn’t show up.

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

mouse.Icon = 'rbxassetid://6744376709'

Here’s a link about Mouse.Icon
As you can see, in the first paragraph, while the cursor hovers over a GuiButton this property is going to be temporarily ignored.
So, you can’t do anything.

Well, I have seen games where there is a mouse cursor when you hover over a GUI. A good example is TNF/The New World.

Hmmm :thinking:
I really don’t know how they do that, but you can try to create an image that follows the cursor (with a local script), and use UserInputService.MouseIconEnabled to make the cursor invisible.

1 Like