# OnActivated()

> Invoked after this EditorTool becomes the active tool.

## Definition

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

```csharp
public virtual void OnActivated()
```
