# vertexDistance

> Controls the minimum distance allowed between generated vertices.

## Definition

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

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

### Remarks

Controls the minimum distance allowed between generated vertices. Any vertices closer than or equal to this distance will be removed. Setting too high a distance can result in nothing being generated.
