Found a CoreGuiType Enum?

So CoreGui stuff I guess.

-- Code is below.
local UIS = game:GetService('UserInputService') 
UIS.InputEnded:connect(function(input)
	if input.KeyCode == Enum.CoreGuiType then
		
	end
end)

I’m really confused because you aren’t supposed to be able to access CoreGui
And I was testing enum types and found that.

1 Like

Enum.CoreGuiType enum is generally used by developers for StarterGui:SetCoreGuiEnabled function to disable certain CoreGuis like leaderboard, chat, emotes menu, ect.

Ohhhhh I see so like how people disable shift lock?

I’m not sure what you’re talking about.

Shiftlock behaviour is determined by StarterPlayer.EnableMouseLockOption property and that property uses booleans, not EnumItems.