# emitterVelocity

> The current Particle System velocity.

## Definition

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

```csharp
public Vector3 emitterVelocity { get; set; }
```

### Remarks

If you set this property to a particular value, the [ParticleSystem.MainModule.emitterVelocityMode](/engine/6000.6/script-reference/unityengine/particlesystem/mainmodule/emittervelocitymode.md) automatically switches to [ParticleSystemEmitterVelocityMode.Custom](/engine/6000.6/script-reference/unityengine/particlesystememittervelocitymode/custom.md).

### Examples

```csharp
using UnityEngine;

[RequireComponent(typeof(ParticleSystem))]
public class Example : MonoBehaviour
{
    ParticleSystem.MainModule mainModule;

    void Start()
    {
        var particleSystem = GetComponent<ParticleSystem>();
        mainModule = particleSystem.main;
    }

    void OnGUI()
    {
        GUILayout.Label("Velocity: " + mainModule.emitterVelocity);
    }
}
```
