Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How do you change the appearance of a cursor in-game?

1 answer

✓ Accepted answer

If you want to change the Cursor when putting over a Click detector.

For that you would place a LocalScript in a place like StarterGui

local player = game.Players.LocalPlayer
local character = player.Character
	local character = player.Character
if not character or not character.Parent then
    character = player.CharacterAdded:wait()
end
local mouse = player:GetMouse() 
local Hover = false

mouse.Move:connect(function() 
	local target = mouse.Target --The block the mouse is touching
	if target == nil then
		--Leave empty
	elseif target.Name == "ClickableObject" then --Change this to name of your button
		mouse.Icon = "asdhajsoidjia" --Changes mouse Icon when hovering
                Hover = true
	else
		mouse.Icon = "asdjiasf;k,fgm" --Changes mouse Icon back to normal while not hovering
	end
end)

You would then add a click function while hovering is on, also change the Icon to the ones you want.

This discussion is preserved as it was. New answers, comments, and votes are closed.