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

# getactorfromthread

> Bir Luau thread ile ilişkili Actor Instance değerini döndürür. İlk argument thread olmalıdır. Function thread thread data değerini okur, Actor reference ve positive container count gerektirir, sonra the associated Actor değerini okur. actor weak reference geçerliyse Instance olarak push edilir; aksi halde function nil döndürür.

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

  ## Aliaslar

  * `getactorfromstate`

  ## Argümanlar

  <ParamField path={"thread"} type={"thread"} required>
    associated Actor weak reference için thread data değeri kontrol edilecek Luau thread.
  </ParamField>

  ## Dönüşler

  <ResponseField name={"actor"} type={"Instance | nil"}>
    thread the associated Actor weak reference değerinden çözümlenen Actor Instance, veya valid actor reference yoksa nil.
  </ResponseField>

  ## Örnek

  Resolve the Actor Instance associated with a Luau thread, when that thread has a valid actor reference.

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