Disabling Mouse for Gamepad

How do you disable the mouse/cursor/dot thing that appears on your screen near the upper portion when you have a gamepad connected?

1 Like

Any chance you can post a screenshot?

If it is indeed the mouse icon/Cursor you can disable it with UserInputService with a LocalScript.

Ex:

local UserInputService = game:GetService("UserInputService")
UserInputService.MouseIconEnabled = false
3 Likes

I already tried that.

This is what happenes when i click any button on my controller.

Also how do I deselect the auto gui select blue box thingy that comes with the gamepad?

We use MouseIconEnabled in Egg Hunt 2018 to hide the controller dot when it shouldn’t be visible (and it works fine), so that seems to be a bug in your code.

GuiService.SelectedObject = nil, will get rid of the current selection entirely.

If you meant to ask “how do I remove or change the blue box default”, take a look at GuiObject.SelectionImageObject. For example, you can pass an invisible frame as SelectionImageObject to make the object not have any visible controller highlight when selected.

2 Likes

MouseIconEnabled = false works, but the actual mouse position is still there.

When I set mouse to lock center, it still snaps but when using the controller. The thing is, im setting my own gui to the mouse’s position and I don’t want the mouse to snap up.

1 Like