# loopCount

> The current loop count.

## Definition

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

```csharp
public int loopCount { get; set; }
```

### Remarks

A VFXSpawner considers a negative value as an infinite count. The VFXSpawner resets this value whenever you invoke Play on the Spawn context.
