# position

> Position of hit.

## Definition

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

```csharp
public Vector3 position { get; set; }
```

### Remarks

It is a position that a **NavMesh Agent** can move to, if it has a [agentTypeID](/engine/6000.3/script-reference/unityengine/ai/navmeshagent/agenttypeid.md) value that matches the [agentTypeID](/engine/6000.3/script-reference/unityengine/ai/navmeshbuildsettings/agenttypeid.md) of the NavMesh at that position. The position lies inside a NavMesh polygon. When the NavMesh also contains  [HeightMesh](/engine/6000.3/script-reference/unityengine/ai/navmeshbuildsettings/buildheightmesh.md) data, the position aligns to the HeightMesh polygon that is closest on the vertical axis.

If the position coordinates are not finite, the entire NavMeshHit object represents the result of an invalid query.

Additional Resources: [NavMeshAgent.SetDestination](/engine/6000.3/script-reference/unityengine/ai/navmeshagent/setdestination.md), [NavMeshAgent.Warp](/engine/6000.3/script-reference/unityengine/ai/navmeshagent/warp.md), [NavMeshAgent.Move](/engine/6000.3/script-reference/unityengine/ai/navmeshagent/move.md).
