An enumeration (also called enum) is a data type that can take one of a set of values. For example, the SurfaceType enum is used to select what type of surface a BasePart has on a certain side, which can take the values "Glue", "Hinge", "Inlet", or a few more. These values act as constants in place of using ambiguous numbers or strings to set a value.

Community content is available under CC-BY-SA unless otherwise noted.