Skip to main content
Sets the identity for the current Luau thread, or for a provided Luau thread. Identity values are converted to integers and clamped to the supported range 0 through 12.

Syntax

Aliases

  • set_thread_identity
  • setidentity
  • setthreadcaps
  • setthreadcontext
  • set_thread_context

Arguments

Example

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