# OnContactBegin2D(ContactBeginEvent)

> Called when a PhysicsEvents.ContactBeginEvent for the object occurs. This will always be called on the main-thread after the simulation has finished.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine.LowLevelPhysics2D](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d.md)
* **Assembly:** UnityEngine.Physics2DModule

```csharp
void OnContactBegin2D(PhysicsEvents.ContactBeginEvent beginEvent)
```

### Parameters

**** (\[ContactBeginEvent]\(/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsevents/contactbeginevent)): The event that occurred.
