So I decided to add a custom mouse cursor to my game. Everything worked and I got it right.
Then I also tried to make a custom cursor for a Click Detector but it wont work unless I remove the custom cursor. Does anyone know how to fix that?
It could be that the image you have as your cursor is offset causing it to not be in the place that you think it is. Maybe try having an infinite loop with a delay of 1 or so seconds that sets the cursor to the default and then to yours to see the difference in position. This would also explain why the clickdetector mouse icon isnβt working either.
Perhaps if you provided the code for the custom cursor, we may be able to identify the problem. It is likely that the image of the cursor is not accurate.
The code is in a localscript in StarterGui.
local Player = game.Players.LocalPlayer
local Mouse = Player:GetMouse()
Mouse.Icon = βhttp://www.roblox.com/asset/?id=6077590002β
For some reason when i move my mouse out of the screen then it changes.