# `GSLayer.glyph`

*Instance Property*

The glyph containing the layer, or `nil` while the layer is detached.

## Declaration

```swift
var glyph: GSGlyph? { get }
```

```objc
@property (nonatomic, readonly) GSGlyph * glyph;
```

```python
glyph() -> GSGlyph
```

## Discussion

This property is an alias for [`GSLayer.parent`](/Core/GlyphsCore/GSLayer/parent).

## See Also

### Ownership

- [`GSLayer.parent`](/Core/GlyphsCore/GSLayer/parent) — The glyph containing the layer, or `nil` while the layer is detached.
- [`GSLayer.font`](/Core/GlyphsCore/GSLayer/font) — The font containing the layer through its glyph, or `nil` while the layer is detached.

