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

> Retorna uma array table de Luau threads da actor list cujo thread data tem Actor reference, reference count é maior que 0 e the associated Actor é uma expired weak reference. A function não recebe arguments. Ela não retorna Actor Instance values.

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

  ## Retornos

  <ResponseField name={"threads"} type={"table"}>
    Array table contendo Luau thread values para actor entries cuja Actor weak reference está expired.
  </ResponseField>

  ## Exemplo

  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>
