# Enum.VelocityConstraintMode

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

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

The velocity constraint mode property controls how the linear velocity of the attachment(s) is constrained.

## Items

| Name | Value | Description |
| --- | --- | --- |
| `Line` | 0 | The velocity component in the direction of the line is constrained to the specified value. The line direction is based on the `RelativeTo` property: - `Attachment0` - The line direction is the primary axis of `Attachment0`. - `Attachment1` - The line direction is the primary axis of `Attachment1`. - `World` - The line direction must be specified. |
| `Plane` | 1 | The velocity components in the plane are constrained to the specified values. The plane tangents are based on the `RelativeTo` property: - `Attachment0` - The plane tangents are the two axes of `Attachment0`. - `Attachment1` - The plane tangents are the two axes of `Attachment1`. - `World` - The two plane tangents must be specified |
| `Vector` | 2 | The velocity components must be equal to the vector components specified. The coordinate system of the vector is based on the `RelativeTo` property: - `Attachment0` - The vector components are in the coordinate system defined by the axes of `Attachment0`. - `Attachment1` - The vector components are in the coordinate system defined by the axes of `Attachment1`. - `World` - The coordinate system is in the world and the vector components must be specified. |

## Used by

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

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