Source: Roblox Creator Hub · CC BY 4.0 · View source · Code samples: MIT Imported 2026-10-03. Formatting adapted for this site.
InputBindingType
This enum is used by InputBinding.Type to determine whether the InputBinding responds to hardware input devices or is driven programmatically via InputBinding:Fire().
Items
| Name | Value | Description |
|---|---|---|
| Automatic | 0 | The InputBinding responds to physical input devices (keyboard, mouse, gamepad, touch) based on its KeyCode or composite direction properties. This is the default. |
| Scriptable | 1 | The InputBinding ignores hardware input and instead receives state updates exclusively through the InputBinding:Fire() method. |
Automatic
The InputBinding responds to physical input devices (keyboard, mouse, gamepad, touch) based on its KeyCode or composite direction properties. This is the default.
| Field | Value |
|---|---|
| value | 0 |
Scriptable
The InputBinding ignores hardware input and instead receives state updates exclusively through the InputBinding:Fire() method.
| Field | Value |
|---|---|
| value | 1 |