# PivotRotation

> How is the tool handle oriented.

## Definition

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

```csharp
public enum PivotRotation
```

## Fields

| Value                                                                         | Description                                                                                        |
| ----------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- |
| [Custom](/engine/6000.7/script-reference/unityeditor/pivotrotation/custom.md) | The tool handle is aligned to the rotation provided by the currently active custom pivot rotation. |
| [Global](/engine/6000.7/script-reference/unityeditor/pivotrotation/global.md) | The tool handle is aligned along the global axes.                                                  |
| [Grid](/engine/6000.7/script-reference/unityeditor/pivotrotation/grid.md)     | The angle of the tool handle matches the grid axes.                                                |
| [Local](/engine/6000.7/script-reference/unityeditor/pivotrotation/local.md)   | The tool handle is oriented from the active object.                                                |
