# isLoop

> Indicates a closed chain formed by connecting the first and last vertices specified. When enabled, no ghost vertices should be defined in the _vertices with all being used to define ChainSegmentGeometry with the ghost vertices being calculated automatically to force a closed loop. When disabled, the _vertices should define _ghost1 as the first vertex followed by at least two vertices or more defining the subsequent edges and finally a _ghost2 vertex, therefore there must be at least 4 vertices.

## Definition

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

```csharp
public bool isLoop { readonly get; set; }
```
