Mouse Icon Help

Hello! I was wondering how I can change my mouse icon when hovering over a button, and then back when you aren’t. I’ve checked dev forum articles and couldn’t find anything. Help?

1 Like

https://developer.roblox.com/en-us/api-reference/property/Mouse/Icon

2 Likes

Hey! I looked over that, but that doesn’t seem like it tells me what I need.

1 Like

@Dmitriy7628gamer gave you a great resource. Now, to utilize it, you want to do this:

button.MouseEnter:Connect(function()
   mouse.Icon = "id of your mouse icon (decal)"
end)

button.MouseLeave:Connect(function()
   mouse.Icon = "" -- change back to default
end)
1 Like

Seems this isn’t working for some reason. It just goes to the 1 finger up cursor.

1 Like

Screenshot of script and screenshot of your cursor while testing, show it to us.

2 Likes

Yes, please show us your script.

2 Likes

image

The one not on the button is coded in a separate script.

1 Like

in your mouse leave event, set the Mouse.Icon to nil.

2 Likes

Anything else needed to fix it?

1 Like

I don’t think so. (30 thingies)

2 Likes

tried this but nothing changed. i think i have a solution though

1 Like