Skip to content

Data type

Enums

Official docs ↗

A root access point of all Enums.

About Enums

The Enums data type, more commonly known as Enum by its global variable in Luau), acts as the root access point for all available enums on Roblox. All enums on Roblox are indexed via their name through this data type, and developers can also utilize the GetEnums() method to get a list of all enums on Roblox.

Methods 1

  • GetEnums() → ArrayReturns an array of all Enums.

    Returns an array containing all available Enums on Roblox.

Reference text from the Roblox Creator Documentation, licensed CC BY 4.0, reorganized by rbxtoolshub.com · Studio 0.743.0.7431133.