# isValid

> Whether the geometry describes a polygon that can be used.

## Definition

* **Type:** Property
* **Namespace:** [Unity.U2D.Physics](/engine/6000.7/script-reference/unity/u2d/physics.md)
* **Assembly:** UnityEngine.PhysicsCore2DModule

```csharp
public readonly bool isValid { get; }
```

### Remarks

The vertex count must be from 3 to [PhysicsConstants.MaxPolygonVertices](/engine/6000.7/script-reference/unity/u2d/physics/physicsconstants/maxpolygonvertices.md), the radius must be finite and zero or greater, and the centroid, every vertex and every normal must be finite. The vertices must also form a convex hull that keeps every one of them, so a vertex that would be welded away or dropped makes the geometry invalid. See [\_areEdgesValid](/engine/6000.7/script-reference/unity/u2d/physics/polygongeometry/areedgesvalid.md) for the rules that decide which vertices survive.
