# `GSPath.closed`

*Instance Property*

Whether the final node connects to the first node.

## Declaration

```swift
var isClosed: Bool { get set }
```

```objc
@property (nonatomic) BOOL closed;
```

[See also `closed` in the Python API](https://docu.glyphsapp.com/#GSPath.closed)

```python
pyobjc_instanceMethods.closed() -> bool
pyobjc_instanceMethods.setClosed_(closed: bool)
```

## Discussion

Setting this property does not adjust the nodes. Use [`GSPath setClosePath:`](/Core/GlyphsCore/GSPath/setClosePath:) to adjust endpoint nodes when opening or closing a path.

## See Also

### Closed/Open

- [`GSPath setClosePath:`](/Core/GlyphsCore/GSPath/setClosePath:) — Opens or closes the path and adjusts its endpoint nodes.
- [`GSPath setClosePath:fixStartNode:`](/Core/GlyphsCore/GSPath/setClosePath:fixStartNode:) — Opens or closes the path and adjusts its endpoint nodes.

