Script

setthreadidentity

Sets the current Luau thread identity and the capabilities associated with that identity level.

Syntax

setthreadidentity(id: number): ()

Also available as setidentity, setcontext