# `GSFont.customParameters`

*Instance Property*

Custom parameters stored in the font.

## Declaration

```swift
var customParameters: [GSCustomParameter] { get set }
```

```objc
@property (nonatomic, strong) NSArray<GSCustomParameter *> * customParameters;
```

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

```python
pyobjc_instanceMethods.customParameters() -> list[GSCustomParameter]
pyobjc_instanceMethods.setCustomParameters_(customParameters: list[GSCustomParameter])
```

## Discussion

Custom parameters extend the font information with named values that do not have dedicated font properties. The array order is preserved.

## See Also

### Custom Parameters

- [`GSFont countOfCustomParameters`](/Core/GlyphsCore/GSFont/countOfCustomParameters) — The number of custom parameters.
- [`GSFont objectInCustomParametersAtIndex:`](/Core/GlyphsCore/GSFont/objectInCustomParametersAtIndex:) — The custom parameter at an index.
- [`GSFont customParameterForKey:`](/Core/GlyphsCore/GSFont/customParameterForKey:) — The first custom parameter with a name.
- [`GSFont customParameterActiveForKey:`](/Core/GlyphsCore/GSFont/customParameterActiveForKey:) — The first active custom parameter with a name.
- [`GSFont customValueForKey:`](/Core/GlyphsCore/GSFont/customValueForKey:) — The value of an active custom parameter.
- [`GSFont customBoolValueForKey:`](/Core/GlyphsCore/GSFont/customBoolValueForKey:) — The Boolean value of an active custom parameter.
- [`GSFont customColorValueForKey:`](/Core/GlyphsCore/GSFont/customColorValueForKey:) — The color value of an active custom parameter.
- [`GSFont setCustomValue:forKey:`](/Core/GlyphsCore/GSFont/setCustomValue:forKey:) — Sets the value of a custom parameter.
- [`GSFont addCustomParameter:`](/Core/GlyphsCore/GSFont/addCustomParameter:) — Adds a custom parameter.
- [`GSFont insertObject:inCustomParametersAtIndex:`](/Core/GlyphsCore/GSFont/insertObject:inCustomParametersAtIndex:) — Inserts a custom parameter at an index.
- [`GSFont removeObjectFromCustomParameters:`](/Core/GlyphsCore/GSFont/removeObjectFromCustomParameters:) — Removes a custom parameter.
- [`GSFont removeObjectFromCustomParametersAtIndex:`](/Core/GlyphsCore/GSFont/removeObjectFromCustomParametersAtIndex:) — Removes the custom parameter at an index.
- [`GSFont removeObjectFromCustomParametersForKey:`](/Core/GlyphsCore/GSFont/removeObjectFromCustomParametersForKey:) — Removes the first custom parameter with a name.
- [`GSFont replaceObjectInCustomParametersAtIndex:withObject:`](/Core/GlyphsCore/GSFont/replaceObjectInCustomParametersAtIndex:withObject:) — Replaces the custom parameter at an index.
- [`GSFont invalidateCustomParameterCache`](/Core/GlyphsCore/GSFont/invalidateCustomParameterCache) — Invalidates cached active custom parameter values.

