# Sandbox.PolygonMesh.CanConnectVertices

```csharp
ConnectVerticesResult CanConnectVertices(VertexHandle hVertexA, VertexHandle hVertexB)
```

Can these two vertices be connected by a new edge? Runs the same checks as
[Sandbox.PolygonMesh.ConnectVertices](/api/Sandbox.PolygonMesh/ConnectVertices) without modifying the mesh.

### Parameters

- `hVertexA` (`VertexHandle`)
- `hVertexB` (`VertexHandle`)

### Returns

`ConnectVerticesResult`

Declared in [Sandbox.PolygonMesh](/api/Sandbox.PolygonMesh).
Assembly: `Sandbox.Engine`.
