# polygon

> Unique identifier for the node in the NavMesh to which the world position has been mapped.

## Definition

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

> **Warning:**
>
> **Deprecated.** The experimental NavMeshLocation struct has been deprecated. Use NavLocation instead.

```csharp
public readonly PolygonId polygon { get; }
```

### Remarks

Additional Resources: [NavMeshPolyTypes](/engine/6000.7/script-reference/unityengine/experimental/ai/navmeshpolytypes.md)
