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