Source: Roblox Creator Hub · CC BY 4.0 · View source · Code samples: MIT Imported 2026-10-03. Formatting adapted for this site.
InputType
The InputType Enum controls the SurfaceInputs of Part. Several parameters here are left-overs from 2005, before Roblox was a multiplayer game, and are used by Part.BackSurfaceInput, Part.BottomSurfaceInput, Part.FrontSurfaceInput, Part.LeftSurfaceInput, Part.RightSurfaceInput, Part.TopSurfaceInput.
Deprecated: This enum is deprecated as it is used by deprecated methods. It should not be used in new work.
Items
| Name | Value | Description |
|---|---|---|
| NoInput | 0 | Behaves like a weld and does nothing. |
| Constant | 12 | Rotate at a constant velocity of BasePart ParamB. |
| Sin | 13 | Rotate at a velocity of: ParamA * math.sin(workspace.DistributedGameTime * ParamB), where BasePart ParamA determines the maximum speed at which the part spins, and BasePart ParamB determines how frequently it changes direction. |
NoInput
Behaves like a weld and does nothing.
| Field | Value |
|---|---|
| value | 0 |
Constant
Rotate at a constant velocity of BasePart ParamB.
| Field | Value |
|---|---|
| value | 12 |
Sin
Rotate at a velocity of: ParamA * math.sin(workspace.DistributedGameTime * ParamB), where BasePart ParamA determines the maximum speed at which the part spins, and BasePart ParamB determines how frequently it changes direction.
| Field | Value |
|---|---|
| value | 13 |