# damping

> Damp cloth motion.

## Definition

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

```csharp
public float damping { get; set; }
```

### Remarks

Set this to damp the motions of a cloth instance. Must be between zero and one. Setting this to zero will disable cloth damping.

### Examples

```csharp
using UnityEngine;

public class Example : MonoBehaviour
{
    void Start()
    {
        GetComponent<Cloth>().damping = 1;
    }
}
```
