# CopyValuesFrom(VFXEventAttribute)

> Copies the values from a VFXEventAttribute to the one you call this function from.

## Definition

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

```csharp
public void CopyValuesFrom(VFXEventAttribute eventAttibute)
```

### Parameters

**** (\[VFXEventAttribute]\(/engine/6000.0/script-reference/unityengine/vfx/vfxeventattribute)): The source event attribute.

### Remarks

This function doesn't add any value, it copies values from source event attribute to already existing properties.
