can you change the click detector cursor to make it look nicer or better?
COMMUNITY QUESTION
can you change the click detector cursor?
2 answers
You could change the mouse's icon everytime the event MouseHoverEnter is fired, and then reset it back to the default when the event MouseHoverLeave fires.
####Example:
local clickDetector = LOCATION_OF_CLICKDETECTOR
local icon = "rbxassetid://ASSET_ID"
clickDetector.MouseHoverEnter:connect(function(player)
local mouse = player:GetMouse()
mouse.Icon = icon
end)
clickDetector.MouseHoverLeave:connect(function(player)
local mouse = player:GetMouse()
mouse.Icon = "rbxasset://textures/ArrowFarCursor.png"
end)
Note that GetMouse can only be called client side, and therefore you'll either have to run this in a local script or create a RemoteEvent that will change the icon for that player.
If you go into the properties of your click detector, there's an Image tab at the bottom, If you open it, you can put in an ID into the CursorIcon box. (sorry late reply)
This discussion is preserved as it was. New answers, comments, and votes are closed.

3 comments
No, you can't, at least as far as I know. You could try a different method, but it's kinda complicated.
could you tell me what that other method is? or give me a hint?
If you use the "Mouse.Moved" event, you can set the curser to a roblox asset based on "Mouse.Target".