# mode

> Set the mode that the Min-Max Gradient uses to evaluate colors.

## Definition

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

```csharp
public ParticleSystemGradientMode mode { get; set; }
```
