Axes

Constructors

NameDescription
new(...axes: Enum.Axis | Enum.NormalId)Constructs an Axes from up to 6 Enum.Axis or Enum.NormalId values. Each NormalId is converted to its corresponding axis (for example, NormalId.Top and NormalId.Bottom both enable the Y axis). Calling with no arguments returns an Axes with every property set to false.

Code Snippet

local Part = Instance.new("Part", workspace)
local arcHandles = Instance.new("ArcHandles", Part)

-- Enable arc handles for the X and Y axes only
arcHandles.Axes = Axes.new(Enum.Axis.X, Enum.Axis.Y)

-- NormalId values work the same way - Top/Bottom both map to Y
arcHandles.Axes = Axes.new(Enum.NormalId.Top, Enum.NormalId.Right)

Properties

NameTypeDescription
XbooleanWhether the X axis is enabled. Equivalent to the Left and Right properties.
YbooleanWhether the Y axis is enabled. Equivalent to the Top and Bottom properties.
ZbooleanWhether the Z axis is enabled. Equivalent to the Front and Back properties.
TopbooleanWhether the positive Y direction is enabled. Always equal to the Y property.
BottombooleanWhether the negative Y direction is enabled. Always equal to the Y property.
LeftbooleanWhether the negative X direction is enabled. Always equal to the X property.
RightbooleanWhether the positive X direction is enabled. Always equal to the X property.
FrontbooleanWhether the negative Z direction is enabled. Always equal to the Z property.
BackbooleanWhether the positive Z direction is enabled. Always equal to the Z property.