# randomDirection

> Randomizes the starting direction of particles.

## Definition

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

> **Warning:**
>
> **Deprecated.** randomDirection property is deprecated. Use randomDirectionAmount instead.

```csharp
public bool randomDirection { get; set; }
```

### Remarks

Additional Resources: [ParticleSystem.ShapeModule.shapeType](/engine/6000.6/script-reference/unityengine/particlesystem/shapemodule/shapetype.md).
