getthreadidentity

Reads the compatibility identity value.

Syntax

Signature
getthreadidentity() -> number

Aliases

  • getidentity
  • getthreadcontext

Parameters

This function takes no parameters.

Returns

TypeDescription
numberThe compatibility value 3.

Notes

Returns the fixed compatibility identity value 3. This value does not select a Vortex security context.

Example

Luau
local Result = getthreadidentity()
print(Result)