# PhysicsCallbacks.BodyUpdateCallbackTargets

> Contains all the body update callback targets returned from PhysicsWorld.GetBodyUpdateCallbackTargets.

## Definition

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

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

## Properties

| Property                                                                                                                                               | Description              |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------ |
| [bodyUpdateCallbackTargets](/engine/6000.6/script-reference/unity/u2d/physics/physicscallbacks/bodyupdatecallbacktargets/bodyupdatecallbacktargets.md) | The body update targets. |

## Methods

| Method                                                                                                             | Description                                                                                                         |
| ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------- |
| [Dispose](/engine/6000.6/script-reference/unity/u2d/physics/physicscallbacks/bodyupdatecallbacktargets/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.BodyUpdateCallbackTargets.BodyUpdateTarget](/engine/6000.6/script-reference/unity/u2d/physics/physicscallbacks/bodyupdatecallbacktargetsbodyupdatetarget.md) | Body update event target for callbacks. |
