# OnJointThreshold2D(JointThresholdEvent)

> Called when a PhysicsEvents.JointThresholdEvent 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.6/script-reference/unity/u2d/physics.md)
* **Assembly:** UnityEngine.PhysicsCore2DModule

```csharp
void OnJointThreshold2D(PhysicsEvents.JointThresholdEvent thresholdEvent)
```

### Parameters

**** (\[JointThresholdEvent]\(/engine/6000.6/script-reference/unity/u2d/physics/physicsevents/jointthresholdevent)): The event that occurred.
