# OnStop(VFXSpawnerState, VFXExpressionValues, VisualEffect)

> Unity invokes this method when a parent spawner system triggers Stop.

## Definition

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

```csharp
public abstract void OnStop(VFXSpawnerState state, VFXExpressionValues vfxValues, VisualEffect vfxComponent)
```

### Parameters

**** (\[VFXSpawnerState]\(/engine/6000.0/script-reference/unityengine/vfx/vfxspawnerstate)): The spawner state.**** (\[VFXExpressionValues]\(/engine/6000.0/script-reference/unityengine/vfx/vfxexpressionvalues)): The values of expression (input properties for a spawner block).**** (\[VisualEffect]\(/engine/6000.0/script-reference/unityengine/vfx/visualeffect)): The visual effect.
