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