Prompt
An in-world ProximityPrompt.
Last updated
An in-world ProximityPrompt.
Last updated
For examples on how to use, refer to .
Creates a Roblox .
Registers a function to run when the prompt is activated.
Sets the object text. Example: Door
Sets the action text. Example: Open
Sets the activation distance in studs. Only players within this distance can use the prompt.
Sets the duration (in seconds) of hold time needed to activate the prompt.
Specifies the key code used to activate the prompt. Written as KeyCode.X
.
Sets the position of the prompt.
Returns the position of the prompt.
Destroys the prompt.