# UpdatePositions()

> Explicitly update the link endpoints.

## Definition

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

> **Warning:**
>
> **Deprecated.** UpdatePositions() has been deprecated together with the class. Declare the object as NavMeshLink and use UpdateLink() instead.

```csharp
public void UpdatePositions()
```

### Remarks

Updates the OffMeshLink endpoints to match the transforms specified by the start and end transforms.
