# RestorePreviousPersistentTool()

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

## Definition

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

```csharp
public static void RestorePreviousPersistentTool()
```
