1 min read

Source: Roblox Creator Hub · CC BY 4.0 · View source · Code samples: MIT Imported 2026-10-03. Formatting adapted for this site.

Deprecated

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

NameValueDescription
NoInput0Behaves like a weld and does nothing.
Constant12Rotate at a constant velocity of BasePart ParamB.
Sin13Rotate 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.

FieldValue
value0

Constant

Rotate at a constant velocity of BasePart ParamB.

FieldValue
value12

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.

FieldValue
value13