I changed my mouse icon with mouse.icon = "someassetidhere", obviously, but I noticed that when I hover over things like image buttons and click detectors it changes to the default mouse or click detector mouse, removing my custom mouse icon. I was wondering how to change this or if there's a property I'm unaware of. Thanks.
The reason may be because you are not formatting it correctly.
game.Players.PlayerAdded:Connect(function(player) player:GetMouse().Icon = rbxassetid://<assetidhere> end
I hope this helped!
All Mouse objects have a property called Icon. Icon is what the mouse pointer looks like on a player's screen. It is loaded using "www.roblox.com/asset?id=". Here's an example:
script.Parent.MouseEnter:Connect(function() local mouse = game.Players.LocalPlayer:GetMouse() mouse.Icon = "http://www.roblox.com/asset?id=163023520" end)
You can use that to change the pointer icon if you like. Please note that it must be a Local Script in order for the icon to change.