Mouse Icon showing very weird behaviour

Not sure what category this is supposed to be in so forgive me if it’s not correct, but I’m having trouble setting the mouse icon to something without it looking very weird. I had 2 other people say they could see the same thing also.

Here’s how I’m setting the mouse icon:

local function setMouse(id)
	local mouse = plr:GetMouse()
	mouse.Icon = "rbxassetid://"..id
end

--at bottom of script
setMouse(17870456320)

crosshair ingame v
crosshair1
crosshair in studio v
crosshair2
crosshair ingame again v
crosshair3

help!

Try it in a local script, if it is not already.

1 Like

In a local script already :frowning:
charssss

Ok, sorry if i’m asking stupid questions, but did you publish to Roblox?

1 Like

no worries, yes I have published it to roblox. I had this issue in another game also which is really weird

Have you had any errors in-game? Type /console and go to the local side.

1 Like

No errors, cursor appears fine in studio but joining the place ingame it is visually different :frowning:

I’d look at this post Mouse cursor being replaced with strange black bars! - #14 by Tiffblocks Not sure if it would help

1 Like

Try using someone else’s cursor image and see if you have a similar problem.

1 Like

By any chance did you forget to scale the cursor?
Custom cursors have to be small and centered in the middle
[max dimensions are 512x512 pixels but go with 32x32 or something like that]

Or it can be an issue on roblox’s side which you’ll have to painstakingly wait for them to fix it

1 Like

here’s the one I’m using (from the toolbox) https://create.roblox.com/store/asset/17870456365/5x5-Pixel-Square-Mouse-Cursor

I’m trying to use other cursors but they’re invisible ingame? :sweat_smile:

Uploading my own cursor seemed to fix it. Very weird stuff

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.