# OnTriggerEnd2D(TriggerEndEvent)

> Called when a PhysicsEvents.TriggerEndEvent 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 OnTriggerEnd2D(PhysicsEvents.TriggerEndEvent endEvent)
```

### Parameters

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