# ignoreFromBuild

> Use this to specify whether the GameObject and its children should be ignored.

## Definition

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

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

### Remarks

If you set this to `true`, the GameObject and its children will not be included as part of the NavMesh.

Set [\_overrideIgnore](/engine/6000.5/script-reference/unityengine/ai/navmeshbuildmarkup/overrideignore.md) to `true` in order for this property to have the intended effect. When `overrideIgnore` is `false` this property inherits the value from the markup of a parent object, if that exists, otherwise it is set to `false`.
