# GetSecondaryTexture(int)

> Get the secondary texture at the specifed index.

## Definition

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

```csharp
public Texture2D GetSecondaryTexture(int index)
```

### Parameters

**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): The index of the secondary texture.

### Returns

| Type                                                                  | Description                         |
| --------------------------------------------------------------------- | ----------------------------------- |
| [Texture2D](/engine/6000.6/script-reference/unityengine/texture2d.md) | The secondary texture at the index. |
