# FindTextureStack(int, out string, out int)

> Find the name of a texture stack a texture belongs too.

## Definition

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

## FindTextureStack(int, string, int)

```csharp
public bool FindTextureStack(int propertyIndex, out string stackName, out int layerIndex)
```

### Parameters

**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): Index of the property.**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): On exit, contanis the name of the stack if one was found.**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): On exit, contains the stack layer index of the texture property.

### Returns

| Type                                                          | Description                                                              |
| ------------------------------------------------------------- | ------------------------------------------------------------------------ |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | True, if a stack was found for the given texture property, false if not. |
