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.

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

NameValueDescription
Keyboard0The player is using keyboard and mouse input.
Gamepad1The player is using a gamepad controller.
Touch2The player is using a touch screen.

Keyboard

The player is using keyboard and mouse input.

FieldValue
value0

Gamepad

The player is using a gamepad controller.

FieldValue
value1

Touch

The player is using a touch screen.

FieldValue
value2