# PhysicsCallbacks.JointThresholdCallbackTargets

> Contains all the joint callback targets returned from PhysicsWorld.GetJointThresholdCallbackTargets.

## Definition

* **Type:** Struct
* **Namespace:** [Unity.U2D.Physics](/engine/6000.5/script-reference/unity/u2d/physics.md)
* **Assembly:** UnityEngine.PhysicsCore2DModule
* **Implements:** [IDisposable](https://learn.microsoft.com/dotnet/api/system.idisposable)

```csharp
public readonly struct PhysicsCallbacks.JointThresholdCallbackTargets : IDisposable
```

## Properties

| Property                                                                                                                                                           | Description                  |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ---------------------------- |
| [jointThresholdCallbackTargets](/engine/6000.5/script-reference/unity/u2d/physics/physicscallbacks/jointthresholdcallbacktargets/jointthresholdcallbacktargets.md) | The joint threshold targets. |

## Methods

| Method                                                                                                                 | Description                                                                                                         |
| ---------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- |
| [Dispose](/engine/6000.5/script-reference/unity/u2d/physics/physicscallbacks/jointthresholdcallbacktargets/dispose.md) | Dispose of any allocated memory. This must be called if any targets are returned otherwise memory leaks will occur. |

## Structs

| Struct                                                                                                                                                                                         | Description                                 |
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------- |
| [PhysicsCallbacks.JointThresholdCallbackTargets.JointThresholdTarget](/engine/6000.5/script-reference/unity/u2d/physics/physicscallbacks/jointthresholdcallbacktargetsjointthresholdtarget.md) | Joint threshold event target for callbacks. |
