> ## Documentation Index
> Fetch the complete documentation index at: https://docs.projectreal.gg/llms.txt
> Use this file to discover all available pages before exploring further.

# fireproximityprompt

> Triggers a ProximityPrompt with Real's ProximityPrompt trigger. The prompt argument must be object with a ClassName field equal to "ProximityPrompt". If the value is not object, the call raises a type error. If ClassName is missing or not a string, it raises "Invalid Instance". If ClassName is not "ProximityPrompt", it raises "ProximityPrompt expected". The function takes no optional arguments and returns nothing.

<div className="real-function-page">
  ```lua theme={null}
  fireproximityprompt(prompt: Instance)
  ```

  ## Arguments

  <ParamField path={"prompt"} type={"Instance"} required>
    Instance whose ClassName must be ProximityPrompt.
  </ParamField>

  ## Example

  Trigger a ProximityPrompt with its required Instance argument.

  ```lua theme={null}
  local prompt = workspace.InteractivePart.ProximityPrompt

  fireproximityprompt(prompt)
  ```
</div>
