# RestorePreviousTool()

> Sets the last-used EditorTool as the active tool.

## Definition

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

```csharp
public static void RestorePreviousTool()
```
