# isTrigger

> Get/Set if the shape is a trigger. Changing the state here is relatively expensive and should be avoided. See _isTrigger.

## Definition

* **Type:** Property
* **Namespace:** [Unity.U2D.Physics](/engine/6000.5/script-reference/unity/u2d/physics.md)
* **Assembly:** UnityEngine.PhysicsCore2DModule

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