EnumItem

Overview

EnumItem is a single element representing a specific constant within a single enumeration group (Enum), meaning each individual value that consists the Enum.

Constructors

Properties

Name

string

The name used to identify the EnumItem, a unique name used to identify each item within the enumeration.

Code Samples

local EnumItem = Enum.HumanoidStateType.Running
print(EnumItem.Name)

Value

number

The number used to identify the EnumItem, a fixed integer used to identify each item within the enumeration.

Code Samples

EnumType

Enum

Represents the parent Enum object of the EnumItem.

Code Samples

Methods

Last updated