# `GSFont stemForName:`

*Instance Method*

Returns the first stem with a name.

## Declaration

```swift
func stem(named name: String) -> GSMetric?
```

```objc
- (GSMetric *) stemForName:(NSString *) name;
```

```python
stemForName_(name: str) -> GSMetric
```

## See Also

### Stems

- [`GSFont.stems`](/Core/GlyphsCore/GSFont/stems) — Font-wide stem definitions.
- [`GSFont countOfStems`](/Core/GlyphsCore/GSFont/countOfStems) — Returns the number of stem definitions.
- [`GSFont objectInStemsAtIndex:`](/Core/GlyphsCore/GSFont/objectInStemsAtIndex:) — Returns the stem at an index.
- [`GSFont stemForId:`](/Core/GlyphsCore/GSFont/stemForId:) — Returns the first stem with an identifier.
- [`GSFont addStem:`](/Core/GlyphsCore/GSFont/addStem:) — Adds a stem definition to the font.
- [`GSFont removeObjectFromStems:`](/Core/GlyphsCore/GSFont/removeObjectFromStems:) — Removes a stem definition from the font.

