Roblox UtilitiesDevlHub Roblox Documentation

Enum

ProximityPromptInputType

Identifies the input method a player is using when a ProximityPrompt is shown.

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 3#

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