# hasIcon

> Defines whether a component type renders an icon in the Scene View.

## Definition

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

```csharp
public bool hasIcon { get; }
```
