# ParticleSystem.RotationBySpeedModule

> Script interface for the RotationBySpeedModule.

## Definition

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

```csharp
public struct ParticleSystem.RotationBySpeedModule
```

## Remarks

Rotate particles based on their speed.

Additional Resources: [ParticleSystem](/engine/6000.5/script-reference/unityengine/particlesystem.md), [ParticleSystem.rotationBySpeed](/engine/6000.5/script-reference/unityengine/particlesystem/rotationbyspeed.md).

## Properties

| Property                                                                                                         | Description                                                                             |
| ---------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- |
| [enabled](/engine/6000.5/script-reference/unityengine/particlesystem/rotationbyspeedmodule/enabled.md)           | ESpecifies whether the RotationBySpeedModule is enabled or disabled.                    |
| [range](/engine/6000.5/script-reference/unityengine/particlesystem/rotationbyspeedmodule/range.md)               | Set the minimum and maximum speeds that this module applies the rotation curve between. |
| [separateAxes](/engine/6000.5/script-reference/unityengine/particlesystem/rotationbyspeedmodule/separateaxes.md) | Set the rotation by speed on each axis separately.                                      |
| [x](/engine/6000.5/script-reference/unityengine/particlesystem/rotationbyspeedmodule/x.md)                       | Rotation by speed curve for the x-axis.                                                 |
| [xMultiplier](/engine/6000.5/script-reference/unityengine/particlesystem/rotationbyspeedmodule/xmultiplier.md)   | Speed multiplier along the x-axis.                                                      |
| [y](/engine/6000.5/script-reference/unityengine/particlesystem/rotationbyspeedmodule/y.md)                       | Rotation by speed curve for the y-axis.                                                 |
| [yMultiplier](/engine/6000.5/script-reference/unityengine/particlesystem/rotationbyspeedmodule/ymultiplier.md)   | Speed multiplier along the y-axis.                                                      |
| [z](/engine/6000.5/script-reference/unityengine/particlesystem/rotationbyspeedmodule/z.md)                       | Rotation by speed curve for the z-axis.                                                 |
| [zMultiplier](/engine/6000.5/script-reference/unityengine/particlesystem/rotationbyspeedmodule/zmultiplier.md)   | Speed multiplier along the z-axis.                                                      |
