# GetPackingSettings()

> Gets the current SpriteAtlasPackingSettings to use when packing SpriteAtlas.

## Definition

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

> **Warning:**
>
> **Deprecated.** GetPackingSettings is no longer supported and will be removed. Use SpriteAtlasImporter.GetPackingSettings instead.

```csharp
public SpriteAtlasPackingSettings GetPackingSettings()
```

### Returns

| Type                                                                                                        | Description |
| ----------------------------------------------------------------------------------------------------------- | ----------- |
| [SpriteAtlasPackingSettings](/engine/6000.7/script-reference/unityeditor/u2d/spriteatlaspackingsettings.md) |             |
