# `GSPath setClosePath:fixStartNode:`

*Instance Method*

Opens or closes the path and adjusts its endpoint nodes.

## Declaration

```swift
func setClose(_ closed: Bool, fixStartNode: Bool)
```

```objc
- (void) setClosePath:(BOOL) closed fixStartNode:(BOOL) fixStartNode;
```

```python
setClosePath_fixStartNode_(closed: bool, fixStartNode: bool)
```

## Parameters

- `fixStartNode` — Whether to move the start node to the end when closing a path whose endpoints do not coincide.

## See Also

### Closed/Open

- [`GSPath.closed`](/Core/GlyphsCore/GSPath/closed) — Whether the final node connects to the first node.
- [`GSPath setClosePath:`](/Core/GlyphsCore/GSPath/setClosePath:) — Opens or closes the path and adjusts its endpoint nodes.

