# GetMode(ParticleSystemCustomData)

> Find out the type of custom data that is being generated for the chosen data stream.

## Definition

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

```csharp
public ParticleSystemCustomDataMode GetMode(ParticleSystemCustomData stream)
```

### Parameters

**** (\[ParticleSystemCustomData]\(/engine/6000.5/script-reference/unityengine/particlesystemcustomdata)): The name of the custom data stream to query.

### Returns

| Type                                                                                                        | Description                                                |
| ----------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------- |
| [ParticleSystemCustomDataMode](/engine/6000.5/script-reference/unityengine/particlesystemcustomdatamode.md) | The type of data being generated for the requested stream. |

### Remarks

Additional Resources: [ParticleSystem.CustomDataModule.SetMode](/engine/6000.5/script-reference/unityengine/particlesystem/customdatamodule/setmode.md), [ParticleSystem.GetCustomParticleData](/engine/6000.5/script-reference/unityengine/particlesystem/getcustomparticledata.md).
