Skip to content

InputType

Supported Enum

The InputType Enum controls the SurfaceInputs of Part.

Description

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.

Items

Item Value Status Notes
NoInput 0 Supported Behaves like a weld and does nothing.
LeftTread 1 Supported —
RightTread 2 Supported —
Steer 3 Supported —
Throtle 4 Supported —
UpDown 6 Supported —
Action1 7 Supported —
Action2 8 Supported —
Action3 9 Supported —
Action4 10 Supported —
Action5 11 Supported —
Constant 12 Supported Rotate at a constant velocity of BasePart ParamB.
Sin 13 Supported Rotate at a velocity of: ParamA * math.sin(workspace.DistributedGameTime * ParamB), where BasePart ParamA determines the maximum speed at which the part spins, and [Base…

Roblox reference: InputType