# carveOnlyStationary

> Should this obstacle be carved when it is constantly moving?

## Definition

* **Type:** Property
* **Namespace:** [UnityEngine.AI](/engine/6000.5/script-reference/unityengine/ai.md)
* **Assembly:** UnityEngine.AIModule

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

### Remarks

When this property is enabled, the obstacle will carve a hole only when it is stationary. There will be no hole carved when the object is moving. See [NavMeshObstacle.carving](/engine/6000.5/script-reference/unityengine/ai/navmeshobstacle/carving.md) for full description of different carving behaviors.
