# CreateVFXEventAttribute()

> Use this method to create a new VFXEventAttribute.

## Definition

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

```csharp
public VFXEventAttribute CreateVFXEventAttribute()
```

### Returns

| Type                                                                                      | Description |
| ----------------------------------------------------------------------------------------- | ----------- |
| [VFXEventAttribute](/engine/6000.5/script-reference/unityengine/vfx/vfxeventattribute.md) |             |

### Remarks

You can pass a VFXEventAttribute to [VisualEffect.SendEvent](/engine/6000.5/script-reference/unityengine/vfx/visualeffect/sendevent.md).
