# onIcon

> The icon associated with the toggle when the value is true.

## Definition

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

```csharp
public Texture2D onIcon { get; set; }
```
