# `GSFont.featurePrefixes`

*Instance Property*

Feature prefixes in the font.

## Declaration

```swift
var featurePrefixes: [GSFeaturePrefix] { get set }
```

```objc
@property (nonatomic, strong) NSArray<GSFeaturePrefix *> * featurePrefixes;
```

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

```python
pyobjc_instanceMethods.featurePrefixes() -> list[GSFeaturePrefix]
pyobjc_instanceMethods.setFeaturePrefixes_(featurePrefixes: list[GSFeaturePrefix])
```

## Discussion

A feature prefix contains FEA code outside the regular feature blocks.

## See Also

### Layout Prefixes

- [`GSFont countOfFeaturePrefixes`](/Core/GlyphsCore/GSFont/countOfFeaturePrefixes) — The number of feature prefixes.
- [`GSFont objectInFeaturePrefixesAtIndex:`](/Core/GlyphsCore/GSFont/objectInFeaturePrefixesAtIndex:) — The feature prefix at an index.
- [`GSFont featurePrefixForTag:`](/Core/GlyphsCore/GSFont/featurePrefixForTag:) — The feature prefix with the specified name.
- [`GSFont addFeaturePrefix:`](/Core/GlyphsCore/GSFont/addFeaturePrefix:) — Adds a feature prefix.
- [`GSFont insertObject:inFeaturePrefixesAtIndex:`](/Core/GlyphsCore/GSFont/insertObject:inFeaturePrefixesAtIndex:) — Inserts a feature prefix at an index.
- [`GSFont removeFeaturePrefix:`](/Core/GlyphsCore/GSFont/removeFeaturePrefix:) — Removes a feature prefix.
- [`GSFont removeObjectFromFeaturePrefixesAtIndex:`](/Core/GlyphsCore/GSFont/removeObjectFromFeaturePrefixesAtIndex:) — Removes the feature prefix at an index.
- [`GSFont replaceObjectInFeaturePrefixesAtIndex:withObject:`](/Core/GlyphsCore/GSFont/replaceObjectInFeaturePrefixesAtIndex:withObject:) — Replaces the feature prefix at an index.

