# GetSprite(string)

> Clone the first Sprite in this atlas that matches the name packed in this atlas and return it.

## Definition

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

```csharp
public Sprite GetSprite(string name)
```

### Parameters

**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): The name of the [Sprite](/engine/6000.3/script-reference/unityengine/sprite.md).

### Returns

| Type                                                            | Description |
| --------------------------------------------------------------- | ----------- |
| [Sprite](/engine/6000.3/script-reference/unityengine/sprite.md) |             |

### Remarks

The clone will use the packed texture of this atlas. Using the action of RequestAtlasCallback will not affect this clone.
