# root

> Use this to specify which GameObject (including the GameObject’s children) the markup should be applied to.

## Definition

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

```csharp
public Transform root { get; set; }
```

### Remarks

This markup will be shared with the children of the `root` GameObject only if [\_applyToChildren](/engine/6000.6/script-reference/unityengine/ai/navmeshbuildmarkup/applytochildren.md) is set to `true`.
