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