PcoWSkbVqDnWTu_dm2ix
We use cookies on this site to enhance your user experience
Collapse Sidebar

GetCoreGuiEnabled

This function returns whether the given Enum/CoreGuiType is enabled or if it has been disabled using StarterGui/SetCoreGuiEnabled.

This function should be called on the client and is used by the core scripts to help determine which core GUI elements to show.

GetCoreGuiEnabled only returns false if the given Enum/CoreGuiType has been disabled using StarterGui/SetCoreGuiEnabled. Setting TopbarEnabled to false using StarterGui/SetCore hides all Enum/CoreGuiType|CoreGuiTypes and does not affect the result of function.

Parameters

Name Type Default Description

The given Enum/CoreGuiType

Returns

Return Type Summary

Whether the given Enum/CoreGuiType is enabled


Code Samples


StarterGui:GetCoreGuiEnabled

The below example would print whether or not the player list is visible to the LocalPlayer.

print(game.StarterGui:GetCoreGuiEnabled("PlayerList"))