# constantMax

> Set a constant for the upper bound.

## Definition

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

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

### Remarks

Useful when [ParticleSystem.MinMaxCurve.mode](/engine/6000.3/script-reference/unityengine/particlesystem/minmaxcurve/mode.md) is set to [ParticleSystemCurveMode.TwoConstants](/engine/6000.3/script-reference/unityengine/particlesystemcurvemode/twoconstants.md).
