# OnContactEnd2D(ContactEndEvent)

> Called when a PhysicsEvents.ContactEndEvent for the object occurs. This will always be called on the main-thread after the simulation has finished.

## Definition

* **Type:** Method
* **Namespace:** [Unity.U2D.Physics](/engine/6000.7/script-reference/unity/u2d/physics.md)
* **Assembly:** UnityEngine.PhysicsCore2DModule

```csharp
void OnContactEnd2D(PhysicsEvents.ContactEndEvent endEvent)
```

### Parameters

**** (\[ContactEndEvent]\(/engine/6000.7/script-reference/unity/u2d/physics/physicsevents/contactendevent)): The event that occurred.
