Api > Component > GetInstanceID()
Component.GetInstanceID()⚓︎
Returns the instance id of the object.
Returns:⚓︎
type | Description |
---|---|
number | instance id of the object. |
Usage⚓︎
---@type Component
local component;
local val0 = component.GetInstanceID()