Skip to content

Enums

Supported Datatype

A root access point of all Enums.

Description

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

GetEnums Not yet Returns an array of all Enums.
Enums:GetEnums()

Returns an array of all Enums.

Returns an array containing all available Enums on Roblox.

Roblox reference: Enums