Skip to main content

Aliases

  • set_thread_identity
  • setidentity
  • setthreadcaps
  • setthreadcontext
  • set_thread_context

Argumentos

thread
Optional Luau thread to update. When provided as argument 1, identity must be passed as argument 2. If argument 1 is not a thread, it is treated as identity instead and the current thread is updated.
number
obrigatório
Identity value to apply. It is converted to an integer, clamped to the range 0 with 12, and then applied.

Exemplo

Set the identity on the current Luau thread, or on a thread argument when one is provided.