Sintaks
Alias
set_thread_identitysetidentitysetthreadcapssetthreadcontextset_thread_context
Sets the identity for a Luau thread and returns no values. If argument 1 is a thread, argument 2 is required and must be a number; that thread is targeted. Otherwise argument 1 is required and must be a number, and the current thread is targeted. The number is read with integer conversion, clamped below 0 to 0 and above 12 to 12, then passed to Real. Real stores the identity and the matching IdentityToCapabilities result on the thread object, and also updates the TLS identity data structureure when one is available. Aliases call the same function.
set_thread_identitysetidentitysetthreadcapssetthreadcontextset_thread_context