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

# getdeletedactors

> Returns an array table of Luau threads from the actor list whose thread data has a Actor reference, reference count is greater than 0, and the associated Actor is an expired weak reference. The function takes no arguments. It does not return Actor Instance values.

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

  ## Returns

  <ResponseField name={"threads"} type={"table"}>
    Array table containing Luau thread values for actor entries whose Actor weak reference is expired.
  </ResponseField>

  ## Example

  List actor threads whose Actor weak reference is expired.

  ```lua theme={null}
  local deletedActorThreads = getdeletedactors()

  for _, thread in ipairs(deletedActorThreads) do
      print(thread)
  end
  ```
</div>
