# `GSGlyph.axes`

*Instance Property*

The glyph-local axes used by Smart Components.

## Declaration

```swift
var axes: [GSAxis] { get set }
```

```objc
@property (nonatomic, strong) NSArray<GSAxis *> * axes;
```

[See also `axes` in the Python API](https://docu.glyphsapp.com/#GSGlyph.axes)

```python
pyobjc_instanceMethods.axes() -> list[GSAxis]
pyobjc_instanceMethods.setAxes_(axes: list[GSAxis])
```

## Discussion

Glyph-local axes describe variation within this glyph and follow the font axes in a complete design-space location. Each axis in this collection belongs to the glyph. Use this property or the axis mutation methods instead of modifying the returned array directly.

## See Also

### Glyph Axes

- [`GSGlyph.countOfAxes`](/Core/GlyphsCore/GSGlyph/countOfAxes) — The number of glyph-local axes.
- [`GSGlyph objectInAxesAtIndex:`](/Core/GlyphsCore/GSGlyph/objectInAxesAtIndex:) — The glyph-local axis at an index, or `nil` when the index is out of range.
- [`GSGlyph insertObject:inAxesAtIndex:`](/Core/GlyphsCore/GSGlyph/insertObject:inAxesAtIndex:) — Inserts a glyph-local axis at an index.
- [`GSGlyph removeObjectFromAxesAtIndex:`](/Core/GlyphsCore/GSGlyph/removeObjectFromAxesAtIndex:) — Removes the glyph-local axis at an index.
- [`GSGlyph replaceObjectInAxesAtIndex:withObject:`](/Core/GlyphsCore/GSGlyph/replaceObjectInAxesAtIndex:withObject:) — Replaces the glyph-local axis at an index.
- [`GSGlyph.allAxes`](/Core/GlyphsCore/GSGlyph/allAxes) — The axes defining a complete design-space location for the glyph.
- [`GSGlyph countOfAllAxes`](/Core/GlyphsCore/GSGlyph/countOfAllAxes) — The total number of font axes and glyph-local axes.
- [`GSGlyph axesRanges:internMax:axes:masterId:`](/Core/GlyphsCore/GSGlyph/axesRanges:internMax:axes:masterId:) — Computes the internal coordinate range of each selected axis.

