# ShowIconPicker(Action<Texture2D, bool>)

> Opens a search picker to select an icon.

## Definition

* **Type:** Method
* **Namespace:** [UnityEditor.Search](/engine/6000.7/script-reference/unityeditor/search.md)
* **Assembly:** UnityEditor

```csharp
public static void ShowIconPicker(Action<Texture2D, bool> iconSelectedHandler)
```

### Parameters

**** (\[Action\<Texture2D, bool>]\(https\://learn.microsoft.com/dotnet/api/system.action)): Select handler invoked if the user selects an icon.

### Remarks

In example, this API is used to select search query icons. This API try to filter out texture that would be suitable as an icon.
