# constant

> Set the constant value.

## Definition

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

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

### Remarks

Useful when [\_mode](/engine/6000.7/script-reference/unityengine/particlesystem/minmaxcurve/mode.md) is set to [ParticleSystemCurveMode.Constant](/engine/6000.7/script-reference/unityengine/particlesystemcurvemode/constant.md).
