Mouse not showing when opening GUI

I changed the mouse cursor. Yes, it still works normally, but when I open the GUI, the dot disappears and I can’t press anything. I need someone to clarify this problem:)

Before Opening


After Opening

I’m sure the mouse works when I open the GUI, but the mouse disappear.

1 Like

what is the code for cursor system?

1 Like

It’s very normal problem happening for every game in roblox.
You cannot see and move your cursor while opening gui in first person.
It’s not the problem of your script or else.
So don’t worry, roblox will fix it someday.

1 Like

You can fix it by unlocking first person when clicking the gui

1 Like

You could make it so that when the gui appears and stuff, the screen would be forced onto third person, OR, you could make keybinds for changing the settings on each button. Hope this could work

1 Like

Go into one of the button’s properties in the ScreenGui’s descendants and activate the setting named “Modal”. It will let the player use the mouse without effecting the First Person camera until the property is disabled. Keep in mind that the camera can still be moved while this property is active if the player holds the right mouse button and moves the mouse. Just so you know only one button in the GUI needs to have Modal activated for the mouse to work as you want it to.

1 Like

I only use the code to change the shape of the mouse cursor like this

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

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.