---
title: width
product: Unity Editor
version: '6000.3'
latest_version: '7000.0'
status: This page documents version 6000.3. The latest version is 7000.0.
canonical: https://docs.unity.com/en-us/engine/6000.3/script-reference/unityeditor/u2d/scriptablepacker/texturedata/width
latest_url: https://docs.unity.com/en-us/engine/7000.0/script-reference/unityeditor/u2d/scriptablepacker/texturedata/width.md
last_updated: 2026-09-14
generated_at: 2026-11-07T05:26:03.019Z
locale: en-us
---

# width

> Width of the texture.

## Definition

* **Type:** Field
* **Namespace:** [UnityEditor.U2D](/engine/6000.3/script-reference/unityeditor/u2d.md)
* **Assembly:** UnityEditor

```csharp
public int width
```
