# externalAcceleration

> A constant, external acceleration applied to the cloth.

## Definition

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

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

### Remarks

Use this to simulate constant forces on the cloth, such as wind waving a flag. Additional Resources: [Cloth.randomAcceleration](/engine/6000.6/script-reference/unityengine/cloth/randomacceleration.md).

### Examples

```csharp
using UnityEngine;

public class Example : MonoBehaviour
{
    // Make this cloth fall at half speed (if is affected by gravity).
    void Start()
    {
        GetComponent<Cloth>().externalAcceleration =  -Physics.gravity / 2;
    }
}
```
