PcoWSkbVqDnWTu_dm2ix
Collapse Sidebar

PromptButtonHoldBegan

This event triggers when a player begins holding down the ProximityPrompt/KeyboardKeyCode|key/button on a prompt with a non-zero ProximityPrompt/HoldDuration. One possible usage includes to animate a hold progress bar.

Parameters

Name Type Default Description

The Player who begins holding down the prompt button


Code Samples


Generating a Custom Proximity Prompt

The example below generates a custom ProximityPrompt UI similar to the default style, which you may use as a starting point. It should be used in a LocalScript.