LocalWE
(WilliApple)
September 4, 2020, 11:49pm
#1
Hello! I am making an update to my game. I was wondering why my cursor isn’t appearing. Instead, the cursor doesn’t show at all.
local cursor = game.Players.LocalPlayer:GetMouse()
cursor.Icon = "rbxassetid://5651952957"
When I play in both, the cursor just doesn’t show. This is in a LocalScript.
If you can help, please let me know. Thanks!
1 Like
xZylter
(xZylter)
September 4, 2020, 11:50pm
#2
I checked the asset and it seems like it has yet to pass moderation. I would wait for the image to pass through moderation and check later. It’s likely invisible because of this.
2 Likes
LocalWE
(WilliApple)
September 4, 2020, 11:51pm
#3
Ok. I shall wait until it passes moderation.
sjr04
(uep)
September 5, 2020, 12:03am
#4
Ulxqra
(Ulxqra)
September 5, 2020, 12:19am
#6
Where is this local script located?
Just wait for it to be fully loaded.
LocalWE
(WilliApple)
September 5, 2020, 12:20am
#8
The script is in StarterGUI. It just needs to load because other decals/images load in just fine with those id’s as seen here. Old Roblox cursor:
1 Like
Ulxqra
(Ulxqra)
September 5, 2020, 12:23am
#9
So I am pretty sure its not the script. Just wait until its moderated and you shall be good! Hope I could help here!
LocalWE
(WilliApple)
September 5, 2020, 12:27am
#10
Question:
How can I make the icon different when I hover over a GUI
Not hovering:
Hovering:
2 Likes
Ulxqra
(Ulxqra)
September 5, 2020, 4:14am
#11
local cursor = game.Players.LocalPlayer:GetMouse()
Script.Parent.MouseEnter:Connect(function()
cursor.Icon = “rbxassetid://5651952957”
end)
Doqee
(Doqee)
September 5, 2020, 2:54pm
#12
Make sure that you also do a function that’ll fire when the mouse leaves, otherwise you’ll be stuck with the mouse that will have the icon of entering (MouseLeave).
1 Like