# Enum.AlignType

Roblox Engine API enum from Roblox Studio 0.744.0.7441077 (version-7aaa6838d36c4448).

- HTML page: https://rapi.sleaze.dev/enums/AlignType/
- Roblox documentation: https://create.roblox.com/docs/reference/engine/enums/AlignType

An enum that specifies how the constraint will attempt to align the body associated with the constraint.

## Items

| Name | Value | Description |
| --- | --- | --- |
| `Parallel` | 0 | Deprecated. **Deprecated:** Use **PrimaryAxisParallel** instead. |
| `Perpendicular` | 1 | Deprecated. **Deprecated:** Use **PrimaryAxisPerpendicular** instead. |
| `PrimaryAxisParallel` | 2 | Aligns the primary axis to be parallel to the axis given by [`Constraint.Attachment1`](https://rapi.sleaze.dev/classes/Constraint.md). |
| `PrimaryAxisPerpendicular` | 3 | Aligns the primary axis to be perpendicular to the axis given by [`Constraint.Attachment1`](https://rapi.sleaze.dev/classes/Constraint.md). |
| `PrimaryAxisLookAt` | 4 | Aligns the primary axis to look at the point given by [`Constraint.Attachment1`](https://rapi.sleaze.dev/classes/Constraint.md) or the [`AlignOrientation.LookAtPosition`](https://rapi.sleaze.dev/classes/AlignOrientation.md). |
| `AllAxes` | 5 | Aligns all of the axes of [`Constraint.Attachment0`](https://rapi.sleaze.dev/classes/Constraint.md) to the axes given by [`Constraint.Attachment1`](https://rapi.sleaze.dev/classes/Constraint.md) or to the target orientation provided by [`AlignOrientation.PrimaryAxis`](https://rapi.sleaze.dev/classes/AlignOrientation.md) and [`AlignOrientation.SecondaryAxis`](https://rapi.sleaze.dev/classes/AlignOrientation.md). |

## Used by

Each entry lists the class, then the role and names of the members that use this type.

- [AlignOrientation](https://rapi.sleaze.dev/classes/AlignOrientation.md): property `AlignType`
