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