# GetMasterAtlas()

> Gets the Master Sprite Atlas for the given Variant Sprite Atlas.

## Definition

* **Type:** Method
* **Namespace:** [UnityEditor.U2D](/engine/6000.7/script-reference/unityeditor/u2d.md)
* **Assembly:** UnityEditor.CoreModule

```csharp
public SpriteAtlas GetMasterAtlas()
```

### Returns

| Type                                                                          | Description                                                      |
| ----------------------------------------------------------------------------- | ---------------------------------------------------------------- |
| [SpriteAtlas](/engine/6000.7/script-reference/unityengine/u2d/spriteatlas.md) | Returns the Master Sprite Atlas if set. Otherwise, returns null. |
