# SpriteAlignment

> How a Sprite's graphic rectangle is aligned with its pivot point.

## Definition

* **Type:** Enum
* **Namespace:** [UnityEngine](/engine/6000.0/script-reference/unityengine.md)
* **Assembly:** UnityEngine.CoreModule

```csharp
public enum SpriteAlignment
```

## Remarks

Additional Resources: [Sprite](/engine/6000.0/script-reference/unityengine/sprite.md) class.

## Fields

| Value                                                                                       | Description                                                         |
| ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------- |
| [BottomCenter](/engine/6000.0/script-reference/unityengine/spritealignment/bottomcenter.md) | Pivot is at the center of the bottom edge of the graphic rectangle. |
| [BottomLeft](/engine/6000.0/script-reference/unityengine/spritealignment/bottomleft.md)     | Pivot is at the bottom left corner of the graphic rectangle.        |
| [BottomRight](/engine/6000.0/script-reference/unityengine/spritealignment/bottomright.md)   | Pivot is at the bottom right corner of the graphic rectangle.       |
| [Center](/engine/6000.0/script-reference/unityengine/spritealignment/center.md)             | Pivot is at the center of the graphic rectangle.                    |
| [Custom](/engine/6000.0/script-reference/unityengine/spritealignment/custom.md)             | Pivot is at a custom position within the graphic rectangle.         |
| [LeftCenter](/engine/6000.0/script-reference/unityengine/spritealignment/leftcenter.md)     | Pivot is at the center of the left edge of the graphic rectangle.   |
| [RightCenter](/engine/6000.0/script-reference/unityengine/spritealignment/rightcenter.md)   | Pivot is at the center of the right edge of the graphic rectangle.  |
| [TopCenter](/engine/6000.0/script-reference/unityengine/spritealignment/topcenter.md)       | Pivot is at the center of the top edge of the graphic rectangle.    |
| [TopLeft](/engine/6000.0/script-reference/unityengine/spritealignment/topleft.md)           | Pivot is at the top left corner of the graphic rectangle.           |
| [TopRight](/engine/6000.0/script-reference/unityengine/spritealignment/topright.md)         | Pivot is at the top right corner of the graphic rectangle.          |
