Skip to content

Api > LuaBehaviour > GetInstanceID()


LuaBehaviour.GetInstanceID()⚓︎

Returns the instance id of the object.

Returns:⚓︎

type Description
number instance id of the object.

Usage⚓︎

---@type LuaBehaviour
local luabehaviour;


local val0 = luabehaviour.GetInstanceID()