Mouse visible bug

Something happend to me when I set the mouse Game:GetService(“UserInputService”).MouseIconEnabled to false, and then press Esc. The mouse becomes visible again. Not sure if this happend because of some update, but this seems to be a problem since previous sunday (when I first noticed it)

So, in other words:

  1. Mouse is disabled
  2. ESC
  3. Mouse becomes visible
  4. Closes down the menu
  5. Mouse still is visible, no matter if you try to hide it again, it’ll NOT go back to invisibility

My guess would be that it’s intentional, that way the user can see his/her mouse to use the menu screen when you press Escape. When you press Escape again, does it go back to being hidden?

It doesn’t get back in any way. Even if I’d disable the mouse again, it’d still have the same “glitch”.

Yeah so this is intentional. The behavior is supposed to be:

  1. dev has mouse hidden. cool.
  2. user opens in-game menu. We force the cursor (so the user can use the menu).
  3. user closes the in-game menu. We go back to whatever the dev was doing with the mouse. If your game has the mouse permanently hidden, then it should go back to this.

Is this not what you are seeing?

1 Like

[quote] Yeah so this is intentional. The behavior is supposed to be:

  1. dev has mouse hidden. cool.
  2. user opens in-game menu. We force the cursor (so the user can use the menu).
  3. user closes the in-game menu. We go back to whatever the dev was doing with the mouse. If you game has the mouse permanently hidden, then it should go back to this.

Is this not what you are seeing? [/quote]

No it’s not what I’m seeing here.

glitch - Roblox Go ahead and give it a try yourself.
Press ESC once you got in there and you see you got no mouse visible.

Pff, is this just me or am I being a total idiot?

Can confirm its not working that way for me either.

Yeah something weird is going on, I’ll look into it

An update on this, found the issue and fixed it. You should see this fix on production a week from tomorrow.

1 Like