# targetContext

> If provided, the EditorTool will only be made available when the ToolManager.activeContextType is equal to ToolAttribute.targetContext.

## Definition

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

```csharp
public Type targetContext { get; set; }
```
