# Play

> Use this method to send a play event to every Spawn system.

## Definition

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

## Play(VFXEventAttribute)

Use this method to send a play event to every Spawn system.

```csharp
public void Play(VFXEventAttribute eventAttribute)
```

### Parameters

**** (\[VFXEventAttribute]\(/engine/6000.7/script-reference/unityengine/vfx/vfxeventattribute)): Can be null or a VFXEventAttribute. To create a VFXEventAttribute, use [VisualEffect.CreateVFXEventAttribute](/engine/6000.7/script-reference/unityengine/vfx/visualeffect/createvfxeventattribute.md).

### Remarks

This call is equivalent to [VisualEffect.SendEvent](/engine/6000.7/script-reference/unityengine/vfx/visualeffect/sendevent.md)("OnPlay");

## Play()

Use this method to send a play event to every Spawn system.

```csharp
public void Play()
```

### Remarks

This call is equivalent to [VisualEffect.SendEvent](/engine/6000.7/script-reference/unityengine/vfx/visualeffect/sendevent.md)("OnPlay");
