Source: Roblox Creator Hub · CC BY 4.0 · View source · Code samples: MIT Imported 2026-10-03. Formatting adapted for this site.
ProximityPromptInputType
ProximityPromptInputType is passed to ProximityPrompt.PromptShown and ProximityPromptService.PromptShown to indicate which input device the player is using. ProximityPromptService switches shown prompts when the active input type changes so button hints match the device (keyboard, gamepad, or touch).
Items
| Name | Value | Description |
|---|---|---|
| Keyboard | 0 | The player is using keyboard and mouse input. |
| Gamepad | 1 | The player is using a gamepad controller. |
| Touch | 2 | The player is using a touch screen. |
Keyboard
The player is using keyboard and mouse input.
| Field | Value |
|---|---|
| value | 0 |
Gamepad
The player is using a gamepad controller.
| Field | Value |
|---|---|
| value | 1 |
Touch
The player is using a touch screen.
| Field | Value |
|---|---|
| value | 2 |