# playOnAwake

> If set to true, the Particle System will automatically start playing on startup.

## Definition

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

> **Warning:**
>
> **Deprecated.** playOnAwake property is deprecated. Use main.playOnAwake instead.

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

### Remarks

Note that this setting is shared between all Particle Systems in the current particle effect.
