# `GSPath setSmooth:withCenterNode:oppositeNode:`

*Instance Method*

Aligns a node opposite another node about a center node while preserving its distance from the center node.

## Declaration

```swift
func setSmooth(_ node: GSNode, withCenter centerNode: GSNode, oppositeNode: GSNode)
```

```objc
- (void) setSmooth:(GSNode *) node withCenterNode:(GSNode *) centerNode oppositeNode:(GSNode *) oppositeNode;
```

```python
setSmooth_withCenterNode_oppositeNode_(node: GSNode, centerNode: GSNode, oppositeNode: GSNode)
```

## See Also

### Editing Nodes

- [`GSPath setSmooth:withCenterPoint:oppositePoint:`](/Core/GlyphsCore/GSPath/setSmooth:withCenterPoint:oppositePoint:) — Aligns a node opposite a point about a center point while preserving its distance from the center point.
- [`GSPath setMirrored:withCenterPoint:oppositePoint:`](/Core/GlyphsCore/GSPath/setMirrored:withCenterPoint:oppositePoint:) — Moves an off-curve node to the reflection of a point about a center point.
- [`GSPath checkConnections`](/Core/GlyphsCore/GSPath/checkConnections) — Normalizes node types and connections based on adjacent nodes.
- [`GSPath checkConnectionForNode:`](/Core/GlyphsCore/GSPath/checkConnectionForNode:) — Sets a node connection based on the alignment of adjacent nodes.
- [`GSPath setLocked:withPoint:`](/Core/GlyphsCore/GSPath/setLocked:withPoint:) — Moves an off-curve node by an offset while preserving its locked direction.
- [`GSPath setLocked:shadow:withPoint:`](/Core/GlyphsCore/GSPath/setLocked:shadow:withPoint:) — Moves an off-curve node by an offset, constrained using a corresponding node in another path.

