Source: Roblox Creator Hub · CC BY 4.0 · View source · Code samples: MIT Imported 2026-10-03. Formatting adapted for this site.
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
| Name | Type / Returns | Description |
|---|---|---|
| Enums:GetEnums | Array | Returns an array of all Enums. |
Enums:GetEnums
Returns an array containing all available Enums on Roblox.
Returns
| Type | Description |
|---|---|
| Array |