# bodyInstanceID

> Obsolete. Use bodyEntityId instead.

## Definition

* **Type:** Property
* **Namespace:** [UnityEngine](/engine/6000.7/script-reference/unityengine.md)
* **Assembly:** UnityEngine.PhysicsModule

> **Warning:**
>
> **Removed.** bodyInstanceID is deprecated, use bodyEntityId instead.

```csharp
public int bodyInstanceID { get; }
```

### Remarks

Instance ID of the first body in this contact pair. Note that this can be Rigidbody or ArticulationBody.
