# GetChannelName(int)

> Gets the name of the channel at a position in the set.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine](/engine/7000.0/script-reference/unityengine.md)
* **Assembly:** UnityEngine.CoreModule

```csharp
public string GetChannelName(int index)
```

### Parameters

**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): Position of the channel, from 0 to less than [AnimatableFloatChannels.channelCount](/engine/7000.0/script-reference/unityengine/animatablefloatchannels/channelcount.md).

### Returns

| Type                                                           | Description                                                            |
| -------------------------------------------------------------- | ---------------------------------------------------------------------- |
| [string](https://learn.microsoft.com/dotnet/api/system.string) | The channel name. If `index` is out of range, returns an empty string. |
