# ScriptablePacker.SpritePack

> A struct that contains packing information of the sprite to Atlas.

## Definition

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

```csharp
public struct ScriptablePacker.SpritePack
```

## Fields

| Value                                                                                       | Description                                                  |
| ------------------------------------------------------------------------------------------- | ------------------------------------------------------------ |
| [page](/engine/6000.5/script-reference/unityeditor/u2d/scriptablepacker/spritepack/page.md) | The page to which the sprite is packed into SpriteAtlas.     |
| [rot](/engine/6000.5/script-reference/unityeditor/u2d/scriptablepacker/spritepack/rot.md)   | The rotation of the Sprite when packed into SpriteAtlas.     |
| [x](/engine/6000.5/script-reference/unityeditor/u2d/scriptablepacker/spritepack/x.md)       | Location in x axis to where the Sprite is packed to Texture. |
| [y](/engine/6000.5/script-reference/unityeditor/u2d/scriptablepacker/spritepack/y.md)       | Location in y axis to where the Sprite is packed to Texture. |
