---
title: multiplyDragByParticleVelocity
product: Unity Editor
version: '6000.3'
latest_version: '7000.0'
status: This page documents version 6000.3. The latest version is 7000.0.
canonical: https://docs.unity.com/en-us/engine/6000.3/script-reference/unityengine/particlesystem/limitvelocityoverlifetimemodule/multiplydragbyparticlevelocity
latest_url: https://docs.unity.com/en-us/engine/7000.0/script-reference/unityengine/particlesystem/limitvelocityoverlifetimemodule/multiplydragbyparticlevelocity.md
last_updated: 2026-09-14
generated_at: 2026-11-16T01:46:48.453Z
locale: en-us
---

# multiplyDragByParticleVelocity

> Adjust the amount of drag this module applies to particles, based on their speeds.

## Definition

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

```csharp
public bool multiplyDragByParticleVelocity { get; set; }
```

### Remarks

Additional Resources: [ParticleSystem.LimitVelocityOverLifetimeModule.drag](/engine/6000.3/script-reference/unityengine/particlesystem/limitvelocityoverlifetimemodule/drag.md), [ParticleSystem.LimitVelocityOverLifetimeModule.multiplyDragByParticleSize](/engine/6000.3/script-reference/unityengine/particlesystem/limitvelocityoverlifetimemodule/multiplydragbyparticlesize.md).

### Examples

```csharp
using UnityEngine;
using System.Collections;

[RequireComponent(typeof(ParticleSystem))]
public class ExampleClass : MonoBehaviour
{
    private ParticleSystem ps;
    public float hSliderValueDrag = 1.0f;
    public bool hToggleUseSize = false;
    public bool hToggleUseVelocity = false;

    void Start()
    {
        ps = GetComponent<ParticleSystem>();

        var limitVelocityOverLifetime = ps.limitVelocityOverLifetime;
        limitVelocityOverLifetime.enabled = true;

        var main = ps.main;
        main.startSize = new ParticleSystem.MinMaxCurve(0.1f, 1.5f);
        main.startSpeed = new ParticleSystem.MinMaxCurve(0.5f, 5.0f);
    }

    void Update()
    {
        var limitVelocityOverLifetime = ps.limitVelocityOverLifetime;
        limitVelocityOverLifetime.dragMultiplier = hSliderValueDrag;
        limitVelocityOverLifetime.multiplyDragByParticleSize = hToggleUseSize;
        limitVelocityOverLifetime.multiplyDragByParticleVelocity = hToggleUseVelocity;
    }

    void OnGUI()
    {
        GUI.Label(new Rect(25, 40, 100, 30), "Drag");

        hSliderValueDrag = GUI.HorizontalSlider(new Rect(135, 45, 100, 30), hSliderValueDrag, 0.0f, 3.0f);
        hToggleUseSize = GUI.Toggle(new Rect(25, 85, 200, 30), hToggleUseSize, "Multiply by Size");
        hToggleUseVelocity = GUI.Toggle(new Rect(25, 125, 200, 30), hToggleUseVelocity, "Multiply by Velocity");
    }
}
```
