# `GSNode.parent`

*Instance Property*

The path containing the node, or `nil` when the node is not part of a path.

## Declaration

```swift
unowned(unsafe) var parent: GSPath? { get set }
```

```objc
@property (nonatomic, unsafe_unretained) GSPath * parent;
```

```python
pyobjc_instanceMethods.parent() -> GSPath
pyobjc_instanceMethods.setParent_(parent: GSPath)
```

## See Also

### Owners

- [`GSNode.layer`](/Core/GlyphsCore/GSNode/layer) — The layer containing the node, or `nil` when the node is not part of a layer.
- [`GSNode.glyph`](/Core/GlyphsCore/GSNode/glyph) — The glyph containing the node, or `nil` when the node is not part of a glyph.

