# loop

> Determines whether the Particle System is looping.

## Definition

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

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

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

### Remarks

If you disable looping on a playing Particle System, it will stop after the end of the current loop.
