# spritePixelsToUnits

> Scale factor for mapping pixels in the graphic to units in world space.

## Definition

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

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

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