Skip to main content

أسماء بديلة

  • get_thread_identity
  • getidentity
  • getthreadcaps
  • getthreadcontext
  • get_thread_context

الوسائط

thread
Optional Luau thread to inspect. If omitted, or if the first argument is not a thread, the current thread is inspected.

القيم الراجعة

integer
Thread identity from 1 through 12, or 0 for other stored values.

مثال

Read the identity from the current Luau thread, or from a thread argument when one is provided.