# spritePixelsToUnits

> Scale factor between pixels in the sprite graphic and world space units.

## Definition

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

> **Warning:**
>
> **Deprecated.** Use spritePixelsPerUnit property instead.

```csharp
public float spritePixelsToUnits { get; set; }
```
