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

mouse.Icon Script Cursor Icon Not Showing?

How do I make it so that this script recognizes the ClickDetector CursorIcon and allows it to display? Currently, this script does not allow the ClickDetector > CursorIcon to display because it only shows the mouse.Icon and does not load a CursorIcon from any ClickDetector.

local mouse = game.Players.LocalPlayer:GetMouse()
mouse.Icon = 'rbxassetid://46537754'

1 answer

If you haven't, you'll have to familiarize with the concept of events and event listeners. When adding an event listener, you should use something like [object].[event]:Connect([callback function to use]). There's many tutorials online, but I recommend learning from developer.roblox.com. You should also check if the image ID of the cursor icon you're trying to show isn't giving off any errors like Request failed.

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