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

# getactorthreads

> actor thread list에서 Luau threads의 array table을 반환합니다. 이 function은 arguments를 받지 않습니다. ScriptContext에서 actor list bounds를 읽고 각 actor state entry를 순회하며 stored global state를 Luau thread로 복호화하고 valid threads인 entries만 포함합니다.

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

  ## 별칭

  * `getactorstates`

  ## 반환값

  <ResponseField name={"threads"} type={"{thread}"}>
    Luau threads로 push되는 actor Luau thread values의 array table입니다.
  </ResponseField>

  ## 예제

  List Luau threads from the ScriptContext actor state list.

  ```lua theme={null}
  for _, thread in ipairs(getactorthreads()) do
      print(thread)
  end
  ```
</div>
