Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
-1

How to change the ROBLOX cursor icon?

Asked by 10 years ago

I can't find any APIs that would help me change the ROBLOX cursor icon in my horror game. If anyone knows where I can find a related cursor API, I will be grateful.

1 answer

Log in to vote
0
Answered by
Savoron 15
10 years ago

There are different ways to change the mouse icon. I prefer to change in from the players mouse. You can put a script in the "PlayersGui" or "Backpack" that get's the "Player" then once you have that, you can get the mouse from the player "Player:GetMouse()" This is an example of a script in the "PlayerGui"

player = script.Parent.Parent
mouse = player:GetMouse()
mouse.Icon = "http://www.roblox.com/asset/?id=75076725" -- This can be any decal you want
0
i tried it didnt work davidsaji 0 — 5y
0
player:GetMouse() is deprecated Tymberlejk 143 — 5y
0
o dang XxOPGUYxX1234567 221 — 4y
0
o dang XxOPGUYxX1234567 221 — 4y
Ad

Answer this question