Introduce Enum types for StarterGui:SetCore() and StarterGui:GetCore()

Currently as a developer it is annoying to have to look up the SetCore / GetCore parameters on the Developer Hub, especially when some aren’t even documented on there. I don’t see why an Enum doesn’t exist, so it would be extremely helpful if one was implemented. Perhaps Enum.CoreType?

Currently:

StarterGui:SetCore("ParamName", bool)
StarterGui:GetCore("ParamName")

Wanted:

StarterGui:SetCore(Enum.CoreType.ParamName, bool)
StarterGui:GetCore(Enum.CoreType.ParamName)

Note: if there is an Enum for this usecase, it isn’t documented on the Developer Hub.

24 Likes