Skip to content
Roblox API Reference

Enum.InputType

The InputType Enum controls the SurfaceInputs of Part.
Items
3
Uses
6

Items3

  • Enum.InputType.NoInput = 0
    Behaves like a weld and does nothing.

    Legacy names: Action1, Action2, Action3, Action4, Action5, LeftTread, RightTread, Steer, Throtle, Throttle, UpDown

  • Enum.InputType.Constant = 12
    Rotate at a constant velocity of BasePartParamB.
  • Enum.InputType.Sin = 13
    Rotate at a velocity of: ParamA * math.sin(workspace.DistributedGameTime * ParamB), where BasePartParamA determines the maximum speed at which the part spins, and BasePartParamB determines how frequently it changes direction.

Used by properties6