Trying to resize mouse cursor for tools

So today i created a mouse cursor for my gun and i have a question, how do i resize the mouse icon ?
When i join my game to test out the cursor, the cursor is massive.

I dont like it that way because its hard to aim the weapon at a player
Script [Local script] :

local MOUSE_ICON = 'rbxassetid://9347650362'

local Tool = script.Parent

local Mouse = nil

local function UpdateIcon()
	Mouse.Icon = Tool.Enabled and MOUSE_ICON
end

local function OnEquipped(mouse)
	Mouse = mouse
	UpdateIcon()
end

local function OnChanged(property)
	if property == 'Enabled' then
		UpdateIcon()
	end
end

Tool.Equipped:connect(OnEquipped)
Tool.Changed:connect(OnChanged)

So does anyone have a solution to this ?

1 Like

It depends on your Image size, the mouse image size should be 64x64 px (pixels)
You can read more here: Mouse.Icon.

Oh, i forgot about that. I made the image 420x420 px

1 Like