---
title: polygon
product: Unity Editor
version: '7000.0'
latest_version: '7000.0'
status: This page documents version 7000.0. The latest version is 7000.0.
canonical: https://docs.unity.com/en-us/engine/7000.0/script-reference/unityengine/experimental/ai/navmeshlocation/polygon
latest_url: https://docs.unity.com/en-us/engine/7000.0/script-reference/unityengine/experimental/ai/navmeshlocation/polygon.md
last_updated: 2026-10-07
generated_at: 2026-11-11T06:00:59.885Z
locale: en-us
---

# 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/7000.0/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/7000.0/script-reference/unityengine/experimental/ai/navmeshpolytypes.md)
