# enableRotation

> Determines if rotating a sprite is possible during packing.

## Definition

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

```csharp
public bool enableRotation { get; set; }
```

### Remarks

Rotating the sprite during packing might result in tighter packing and thus a smaller atlas. However, this increases packing time.
