Mouse icon disappears in studio

Sometimes when studio starts a new test session, the mouse icon fails to load and won’t fix until you stop the test session. I’m on studio v0.430.0.404197 on windows 10


ShareX offset the mouse position, but im dragging it in and out of the output panel. The mouse disappears when it goes over the viewport

4 Likes

I seem to be having the same problem, here’s a temporary fix

local RunService = game:GetService("RunService")
local Player = game.Players.LocalPlayer
local PlayerGui = Player:WaitForChild("PlayerGui")
local Mouse = Player:GetMouse()
local ScreenGui = Instance.new("ScreenGui", PlayerGui)
ScreenGui.ResetOnSpawn = false
local Frame = Instance.new("Frame", ScreenGui)
Frame.Size = UDim2.fromOffset(5, 5)

RunService:BindToRenderStep("MouseMoved", 200, function()
local X, Y = Mouse.X, Mouse.Y
Frame.Position = UDim2.fromOffset(X, Y)
end)

Unfortunately, you can’t indent in Discourse so, please mind the lack of tabs.
Place this in a local script; somewhere it will execute (e.g. PlayerScripts), it will create a 5 x 5 frame which should behave like a cursor when Roblox fails to load in the default mouse cursor

3 Likes

Capture

I tried reinstalling studio to get the mouse icon back, but instead even more icons are failing now. Not having a mouse makes testing very difficult !