# Tool

> Which tool is active in the editor.

## Definition

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

```csharp
public enum Tool
```

## Fields

| Value                                                                      | Description                                                                                                                                                    |
| -------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [Custom](/engine/6000.0/script-reference/unityeditor/tool/custom.md)       | Any tool that is not one of the built-in tools.                                                                                                                |
| [Move](/engine/6000.0/script-reference/unityeditor/tool/move.md)           | The move tool is active.                                                                                                                                       |
| [None](/engine/6000.0/script-reference/unityeditor/tool/none.md)           | No tool is active. Set this to implement your own in-inspector toolbar (like the terrain editor does).                                                         |
| [Rect](/engine/6000.0/script-reference/unityeditor/tool/rect.md)           | The rect tool is active.                                                                                                                                       |
| [Rotate](/engine/6000.0/script-reference/unityeditor/tool/rotate.md)       | The rotate tool is active.                                                                                                                                     |
| [Scale](/engine/6000.0/script-reference/unityeditor/tool/scale.md)         | The scale tool is active.                                                                                                                                      |
| [Transform](/engine/6000.0/script-reference/unityeditor/tool/transform.md) | The transform tool is active.                                                                                                                                  |
| [View](/engine/6000.0/script-reference/unityeditor/tool/view.md)           | The view tool is active - Use [Tools.viewTool](/engine/6000.0/script-reference/unityeditor/tools/viewtool.md) to find out which view tool we're talking about. |
