Skip to main content

GameObject.GetInstanceID()

Returns the instance id of the object.

Returns:

typeDescription
numberinstance id of the object.

Usage

---@type GameObject
local gameobject;


local val0 = gameobject.GetInstanceID()