fireproximityprompt
Fires a ProximityPrompt.
Syntax
fireproximityprompt(prompt: Instance) -> nil
Parameters
| Parameter | Type | Description |
|---|---|---|
prompt | Instance | The ProximityPrompt instance to target. |
Returns
| Type | Description |
|---|---|
nil | This function does not return a value. |
Description
fireproximityprompt is part of the Signals library. Signal helpers resolve live RBXScriptSignal objects and their connection lists. Firing and replication use the client's real signal paths.
The operation is performed immediately using the arguments supplied at the call site.
Example
local prompt = workspace:FindFirstChildWhichIsA("ProximityPrompt", true)
if prompt then
fireproximityprompt(prompt)
end
Notes
- Signal helpers operate on the live RBXScriptSignal and its connection list.