hi is there a way to change the icon of a hand pointer that shows up when you hover your mouse over ui such as imagelabels,imagebuttons,textbuttons and so on
1 Like
Use MouseEnter and MouseLeave to check if the mouse is over the Ui.
For changing Mouse icon: Mouse Icon
An example:
script.Parent.MouseEnter:Connect(function() --fires when the mouse enters the ui
local mouse = game.Players.LocalPlayer:GetMouse() --get the mouse
mouse.Icon = "rbxasset://SystemCursors/PointingHand" --change the icon to Pointing Hand
end)
script.Parent.MouseLeave:Connect(function() --fires when the mouse leaves the ui
local mouse = game.Players.LocalPlayer:GetMouse() --get the mouse
mouse.Icon = "rbxasset://SystemCursors/Arrow" --change the icon back to original
end)
no i dont want to change the regular mouse icon i want to change the hand pointer itself
Dont really know what you mean by that
the little hand thingy that shows up when you hover over a textbutton or any other gui
I’m not sure if you can since it’s in the Roblox Client files itself.
you can change mouse cursor icon but not other icons?
I guess so, that’s what I could find in the documentation.