> ## 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.

# getreferencedby

> Returns cached Instance values whose supported reference properties point to the provided Instance. The argument must be an Instance.

<div className="real-function-page">
  ```lua theme={null}
  getreferencedby(instance: userdata): table
  ```

  ## Aliaslar

  * `getreferences`

  ## Argümanlar

  <ParamField path={"instance"} type={"userdata"} required>
    Target Instance to search references for.
  </ParamField>

  ## Dönüşler

  <ResponseField name={"instances"} type={"table"}>
    New array table of matching registered Instance object values.
  </ResponseField>

  ## Örnek

  Find values that reference a specific Instance.

  ```lua theme={null}
  local references = getreferencedby(workspace)

  for _, value in ipairs(references) do
      print(value)
  end
  ```
</div>
