# width

> The width of the icon in pixels.

## Definition

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

```csharp
public int width { get; }
```

### Remarks

The actual texture can be of any size and will be automatically upscaled or downscaled when building the Unity project.
