Roblox API Reference

Axes On DevHub

Represents a set of coordinate axes that are considered active.

Constructors

Axes.new(components: ...Variant)

All components of Axes are initialized to false. A variable list of arguments is received, but only the first 6 arguments are traversed. When an Axis or NormalId value is received, the component of Axes corresponding to the value is set to true. Other values are ignored.

Value Component
Enum.Axis.X Enables the X component.
Enum.Axis.Y Enables the Y component.
Enum.Axis.Z Enables the Z component.
Enum.NormalId.Right Enables the X component.
Enum.NormalId.Top Enables the Y component.
Enum.NormalId.Back Enables the Z component.
Enum.NormalId.Left Enables the X component.
Enum.NormalId.Bottom Enables the Y component.
Enum.NormalId.Front Enables the Z component.

Fields

Back: boolean

Whether the back face is enabled. Corresponds to the Z axis.

Bottom: boolean

Whether the bottom face is enabled. Corresponds to the Y axis.

Front: boolean

Whether the frony face is enabled. Corresponds to the Z axis.

Left: boolean

Whether the left face is enabled. Corresponds to the X axis.

Right: boolean

Whether the right face is enabled. Corresponds to the X axis.

Top: boolean

Whether the top face is enabled. Corresponds to the Y axis.

X: boolean

Whether the X axis is enabled.

Y: boolean

Whether the Y axis is enabled.

Z: boolean

Whether the Z axis is enabled.

Operators

Axes == Axes

Determines whether Axes values are equal.

Details

An Axes is equal to another Axes if their X, Y, and Z fields are equal.

Relevant members (1)