This event is triggered when the prompt
ProximityPrompt/KeyboardKeyCode|key/button is pressed, or after a specified amount of time holding the button, if
ProximityPrompt/HoldDuration is used.
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
Using a Proximity Prompt with a Seat
In the example below, a user must interact with a chair to sit in it. Paste this into a
Script that is a child of a
ProximityPrompt, which is itself a sibling of a
Seat object named Seat.