# deleteStopsCallbacks

> Set whether to continue or stop the proccesing of collision callbacks if any of the objects involved in the collision are deleted.

## Definition

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

> **Warning:**
>
> **Removed.** Physics2D.deleteStopsCallbacks is deprecated.
>
> **Upgrade to** [Physics2D.changeStopsCallbacks](/engine/6000.0/script-reference/unityengine/physics2d/changestopscallbacks.md)

```csharp
public static bool deleteStopsCallbacks { get; set; }
```

### Remarks

During a collision callback, if either a Collider2D or Rigidbody2D that is taking part in that particular callback is deleted then this property controls whether callbacks will continue for this contact or not.

Additional Resources: Collider2D, Rigidbody2D.
