# IsAvailable()

> Checks whether the custom editor tool is available based on the state of the editor. Unavailable tools are displayed as disabled in the Scene view's Tools overlay.

## Definition

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

```csharp
public virtual bool IsAvailable()
```

### Returns

| Type                                                          | Description                                                                   |
| ------------------------------------------------------------- | ----------------------------------------------------------------------------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | Returns true if the custom editor tool is available. Returns false otherwise. |

### Remarks

Refer to[ToolManager.RefreshAvailableTools](/engine/6000.5/script-reference/unityeditor/editortools/toolmanager/refreshavailabletools.md) for an example.
