# RemoveLink(NavMeshLinkInstance)

> Removes a link from the NavMesh.

## Definition

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

```csharp
public static void RemoveLink(NavMeshLinkInstance handle)
```

### Parameters

**** (\[NavMeshLinkInstance]\(/engine/6000.7/script-reference/unityengine/ai/navmeshlinkinstance)): The instance of a link to remove.

### Remarks

Use the instance returned by [NavMesh.AddLink](/engine/6000.7/script-reference/unityengine/ai/navmesh/addlink.md) to remove the corresponding link.

Additional Resources: [NavMesh.RemoveAllNavMeshData](/engine/6000.7/script-reference/unityengine/ai/navmesh/removeallnavmeshdata.md)
