Skip to content

Api > GameObject > GetInstanceID()


GameObject.GetInstanceID()⚓︎

Returns the instance id of the object.

Returns:⚓︎

type Description
number instance id of the object.

Usage⚓︎

---@type GameObject
local gameobject;


local val0 = gameobject.GetInstanceID()