How to hide the mouse icon

Hello I have a FPS game and the mouse icon is in the middle of the screen when in first person. How do I get rid of the mouse so I can have a decent game.

I ran this code in m game

	for i=10,0,-1 do
		print("mkw;e")
		local Mouse = game:GetService("Players").LocalPlayer:GetMouse()
		local emptyIcon = "rbxassetid://0"
		Mouse.Icon = emptyIcon
	end

and it printed mkw;e but the mouse was still visible

Simple! You can do:

local UIS = game:GetService("UserInputService")
UIS.MouseIconEnabled = false
1 Like

Should probably move this to #help-and-feedback before this post gets reported into oblivion.

1 Like

Click Here To See Response

1 Like

#help-and-feedback:scripting-support

1 Like

You are welcome! In that case, if it does help with your code, you can mark it as a solution!

1 Like

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