Collapse Sidebar


Enums (more commonly known as Enum by its global variable in Lua) is a datatype that acts as the root access point for all available enums on Roblox. All enums on Roblox can be indexed via their name through this datatype, and developers can also utilize the GetEnums function of this type to get a list of every enum on Roblox.


array Enums:GetEnums ( )

Returns an array containing all available DataType/Enum|Enums on Roblox.


This code sample demonstrates how to enumerate over all available Enums on Roblox.