Can't seem to get the Mouse Icon of the player

local Players = game:GetService("Players")
while true do
	local mouse = Players.LocalPlayer:GetMouse()

This just prints empty even though I have code that’s making the mouse a white dot.

1 Like

Did you make sure to set the .Icon property to be an Image Asset? It works fine for me when using this line of code inside a LocalScript inside StarterPlayerScripts:

local Plr = game.Players.LocalPlayer
local M = Plr:GetMouse()
M.Icon = "rbxassetid://3259050989"

while true do

1 Like

Yeah, thee point of this is to be able to put this on a fake mouse, it doesn’t work with the tool icon for some reason.

Can you try the same code that I originally used to see if it makes any difference?

Maybe you’re setting the Icon in a different script somewhere within your hierarchy

Yes, that’s the point, I’m not trying to get the icon in the same script it’s sent.

Where exactly are you setting the property of the Mouse’s .Icon? I’m trying to replicate your issue, but it’s not working for me here

What I’m doing, is that I have 2 LocalScripts where one changes the Mouse’s Icon, and another that calls print(Mouse.Icon) per 1 second

Both are inside StarterPlayerScripts, and the Mouse.Icon prints just fine

I’d appreciate more information that you can provide us to further assist this issue here