Hand-written by Joseph San Nicolas, Roblox Developer
Axes
Constructors
| Name | Description |
| 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
| Name | Type | Description |
| X | boolean | Whether the X axis is enabled. Equivalent to the Left and Right properties. |
| Y | boolean | Whether the Y axis is enabled. Equivalent to the Top and Bottom properties. |
| Z | boolean | Whether the Z axis is enabled. Equivalent to the Front and Back properties. |
| Top | boolean | Whether the positive Y direction is enabled. Always equal to the Y property. |
| Bottom | boolean | Whether the negative Y direction is enabled. Always equal to the Y property. |
| Left | boolean | Whether the negative X direction is enabled. Always equal to the X property. |
| Right | boolean | Whether the positive X direction is enabled. Always equal to the X property. |
| Front | boolean | Whether the negative Z direction is enabled. Always equal to the Z property. |
| Back | boolean | Whether the positive Z direction is enabled. Always equal to the Z property. |