# CloseChannel(string)

> Closes a specific channel and all connections to that channel.

## Definition

* **Type:** Method
* **Namespace:** [UnityEditor.MPE](/engine/6000.0/script-reference/unityeditor/mpe.md)
* **Assembly:** UnityEditor

```csharp
public static void CloseChannel(string channelName)
```

### Parameters

**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): The name of the channel to close.
