How do I hide this ui?

Some people know of the thing that is used to move on mobile, that UI with the joystick, I want to remove it. Dont ask why, but is it possible?

1 Like

Yes,

Simply this:

local UserInputService = game:GetService("UserInputService")
UserInputService.ModalEnabled = false

They are still there, also ModelEnabled is crossed out.

1 Like

I have a GUI game that I had been working on for a little while, because it was all GUI for the most part, I wanted to know the same exact thing, so I looked it up,

In a LocalScript inside of StarterGui I put this code in:

local StarterGui = game:GetService("StarterGui")
local UserInputService = game:GetService("UserInputService")

StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.All, false)
UserInputService.ModalEnabled = false
1 Like

You have to set it to true, not false.

@FroDev1002

local userInputService = game:GetService("UserInputService")

userInputService.ModalEnabled = true
-- Mobile controls disabled

Learn more in the UserInputService.ModalEnabled documentation.

1 Like

Ah, I think I might’ve originally changed it to false in my saves on accident, just checked now and it’s set to true, thanks!

1 Like