Reference API Roblox

Engine API

Website

Related

Reference API Roblox

ProximityPromptInputType

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

Items 3

HistoryNameValueDescription
454Keyboard0

The player is using keyboard and mouse input.

454Gamepad1

The player is using a gamepad controller.

454Touch2

The player is using a touch screen.

Description

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).

History 4

Settings