# contactEvents

> Controls whether this shape produces contact events which can be retrieved after the simulation has completed. Any contact events can be used to call the assigned PhysicsShape.callbackTarget. A contact event is produced if either shapes involved have their contactEvents enabled. A contact event will produce a PhysicsCallbacks.IContactCallback to the PhysicsShape.callbackTarget for both shapes involved.

## Definition

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

```csharp
public bool contactEvents { get; set; }
```
