# SetMasterAtlas(SpriteAtlas)

> Sets an Atlas to be the Master Atlas.

## Definition

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

```csharp
public void SetMasterAtlas(SpriteAtlas atlas)
```

### Parameters

**** (\[SpriteAtlas]\(/engine/6000.3/script-reference/unityengine/u2d/spriteatlas)):&#x20;

### Remarks

This method sets a valid Master Atlas to this Atlas but does not automatically turn it into a Variant Sprite Atlas. Use [SpriteAtlasExtensions.SetIsVariant](/engine/6000.3/script-reference/unityeditor/u2d/spriteatlasextensions/setisvariant.md) to turn this Atlas into a Variant.
