# `GSPath removeNodes:`

*Instance Method*

Removes nodes.

## Declaration

```swift
func removeNodes(_ nodes: [GSNode])
```

```objc
- (void) removeNodes:(NSArray<GSNode *> *) nodes;
```

```python
removeNodes_(nodes: list[GSNode])
```

## See Also

### Removing Nodes

- [`GSPath removeObjectFromNodesAtIndex:`](/Core/GlyphsCore/GSPath/removeObjectFromNodesAtIndex:) — Removes the node at an index.
- [`GSPath removeNode:`](/Core/GlyphsCore/GSPath/removeNode:) — Removes a node.
- [`GSPath removeNodeFast:`](/Core/GlyphsCore/GSPath/removeNodeFast:) — Removes a node without registering undo, updating the layer selection, or notifying the layer.
- [`GSPath removeNodeCheck:`](/Core/GlyphsCore/GSPath/removeNodeCheck:) — Removes a node and adjusts adjacent nodes to keep the path structurally valid.
- [`GSPath removeNodeCheckKeepShape:`](/Core/GlyphsCore/GSPath/removeNodeCheckKeepShape:) — Removes a node and adjusts adjacent segments to approximate the path shape.
- [`GSPath removeNodeCheckKeepShape:normalizeHandles:error:`](/Core/GlyphsCore/GSPath/removeNodeCheckKeepShape:normalizeHandles:error:) — Removes a node and adjusts adjacent segments to approximate the path shape.

