ProximityPromptInputType
Identifies the input method a player is using when a ProximityPrompt is shown.
Items 3
| History | Name | Value | Description | |
|---|---|---|---|---|
| 454 | Keyboard | 0 | The player is using keyboard and mouse input. | |
| 454 | Gamepad | 1 | The player is using a gamepad controller. | |
| 454 | Touch | 2 | 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).