# Distance

> Sort based on distance to the camera position. For orthographic cameras, this mode is the same as sorting by depth.

## Definition

* **Type:** Field
* **Namespace:** [UnityEngine](/engine/6000.7/script-reference/unityengine.md)
* **Assembly:** UnityEngine.ParticleSystemModule

```csharp
Distance = 1
```
