Skip to content

Api > Sprite > GetInstanceID()


Sprite.GetInstanceID()⚓︎

Returns the instance id of the object.

Returns:⚓︎

type Description
number instance id of the object.

Usage⚓︎

---@type Sprite
local sprite;


local val0 = sprite.GetInstanceID()