# mode

> Defines the type of wind zone to be used (Spherical or Directional).

## Definition

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

```csharp
public WindZoneMode mode { get; set; }
```

### Examples

```csharp
// Creates a Directional Wind Zone.
using UnityEngine;

public class ExampleScript : MonoBehaviour
{
    void Start()
    {
        var wind = gameObject.AddComponent<WindZone>();
        wind.mode = WindZoneMode.Directional;
    }
}
```
