# PhysicsCallbacks.ContactCallbackTargets.ContactEndTarget

> Contact end event target for callbacks.

## Definition

* **Type:** Struct
* **Namespace:** [Unity.U2D.Physics](/engine/7000.0/script-reference/unity/u2d/physics.md)
* **Assembly:** UnityEngine.PhysicsCore2DModule
* **Implements:** [IEquatable\<ContactEndTarget>](https://learn.microsoft.com/dotnet/api/system.iequatable-1)

```csharp
public readonly struct PhysicsCallbacks.ContactCallbackTargets.ContactEndTarget : IEquatable<PhysicsCallbacks.ContactCallbackTargets.ContactEndTarget>
```

## Properties

| Property                                                                                                                                  | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| ----------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| [endEvent](/engine/7000.0/script-reference/unity/u2d/physics/physicscallbacks/contactcallbacktargetscontactendtarget/endevent.md)         | The event.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| [shapeTargetA](/engine/7000.0/script-reference/unity/u2d/physics/physicscallbacks/contactcallbacktargetscontactendtarget/shapetargeta.md) | The callback target ([PhysicsShape.callbackTarget](/engine/7000.0/script-reference/unity/u2d/physics/physicsshape/callbacktarget.md)) associated with [PhysicsEvents.ContactEndEvent.shapeA](/engine/7000.0/script-reference/unity/u2d/physics/physicsevents/contactendevent/shapea.md). This returns any implemented [PhysicsCallbacks.IContactCallback](/engine/7000.0/script-reference/unity/u2d/physics/physicscallbacks/icontactcallback.md) or NULL if not implemented or no target. |
| [shapeTargetB](/engine/7000.0/script-reference/unity/u2d/physics/physicscallbacks/contactcallbacktargetscontactendtarget/shapetargetb.md) | The callback target ([PhysicsShape.callbackTarget](/engine/7000.0/script-reference/unity/u2d/physics/physicsshape/callbacktarget.md)) associated with [PhysicsEvents.ContactEndEvent.shapeB](/engine/7000.0/script-reference/unity/u2d/physics/physicsevents/contactendevent/shapeb.md). This returns any implemented [PhysicsCallbacks.IContactCallback](/engine/7000.0/script-reference/unity/u2d/physics/physicscallbacks/icontactcallback.md) or NULL if not implemented or no target. |
