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