# Enum.SurfaceConstraint

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

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

This item is deprecated and is replaced by the `SurfaceType` enum.

## Items

| Name | Value | Description |
| --- | --- | --- |
| `None` | 0 | No surface constraint. |
| `Hinge` | 1 | Makes the side appear with a yellow hinge. Any part connected to this hinge will stick to the side and rotate using physics. |
| `SteppingMotor` | 2 | Functions identically to a motor. It may have functioned differently in the past, but that functionality no longer seems to exist. |
| `Motor` | 3 | Acts the same as a Hinge, but has a grey ring around it and automatically rotates any part connected to it. |
