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

> Zwraca array table z Luau threads z actor list, których thread data ma Actor reference, reference count jest większe od 0, a the associated Actor jest expired weak reference. Function nie przyjmuje arguments. Nie zwraca Actor Instance values.

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

  ## Zwroty

  <ResponseField name={"threads"} type={"table"}>
    Array table zawierająca Luau thread values dla actor entries, których Actor weak reference jest expired.
  </ResponseField>

  ## Przykład

  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>
