# `GSFont instance(atPosition:)`

*Instance Method*

Returns the instance at an internal design-space position.

## Declaration

```swift
func instance(atPosition position: [CGFloat]) -> GSInstance?
```

## Discussion

The position array must contain one internal coordinate per font axis, in font-axis order.

## See Also

### Instances

- [`GSFont.instances`](/Core/GlyphsCore/GSFont/instances) — Export configurations of the font.
- [`GSFont countOfInstances`](/Core/GlyphsCore/GSFont/countOfInstances) — The number of instances in the font.
- [`GSFont objectInInstancesAtIndex:`](/Core/GlyphsCore/GSFont/objectInInstancesAtIndex:) — Returns the instance at an index, or `nil` when the index is out of range.
- [`GSFont insertObject:inInstancesAtIndex:`](/Core/GlyphsCore/GSFont/insertObject:inInstancesAtIndex:) — Inserts an instance at an index.
- [`GSFont insertInstance:atIndex:`](/Core/GlyphsCore/GSFont/insertInstance:atIndex:) — Inserts an instance at an index.
- [`GSFont addInstance:`](/Core/GlyphsCore/GSFont/addInstance:) — Adds an instance to the font.
- [`GSFont addInstanceFast:`](/Core/GlyphsCore/GSFont/addInstanceFast:) — Adds an instance without undo registration or change notifications.
- [`GSFont removeInstance:`](/Core/GlyphsCore/GSFont/removeInstance:) — Removes an instance from the font.
- [`GSFont removeInstances:`](/Core/GlyphsCore/GSFont/removeInstances:) — Removes instances from the font.
- [`GSFont removeObjectFromInstancesAtIndex:`](/Core/GlyphsCore/GSFont/removeObjectFromInstancesAtIndex:) — Removes the instance at an index.
- [`GSFont replaceObjectInInstancesAtIndex:withObject:`](/Core/GlyphsCore/GSFont/replaceObjectInInstancesAtIndex:withObject:) — Replaces the instance at an index.
- [`GSFont instanceGroups`](/Core/GlyphsCore/GSFont/instanceGroups) — Instance groups for UI presentation.
- [`GSFont instancesUnique`](/Core/GlyphsCore/GSFont/instancesUnique) — Instances with unique interpolation locations.

