# hasIcon

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

## Definition

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

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