# `GSLayer widthMetricsKeyState`

*Instance Method*

State flags for the width metrics key.

## Declaration

```swift
func widthMetricsKeyState() -> GSMetricsKeysUI
```

```objc
- (GSMetricsKeysUI) widthMetricsKeyState;
```

```python
widthMetricsKeyState() -> GSMetricsKeysUI
```

## See Also

### Horizontal Metrics Keys UI

- [`GSLayer.leftMetricsKeyUI`](/Core/GlyphsCore/GSLayer/leftMetricsKeyUI) — Display and editing string for the left metrics key.
- [`GSLayer leftMetricsKeyState`](/Core/GlyphsCore/GSLayer/leftMetricsKeyState) — State flags for the left metrics key.
- [`GSLayer leftMetricsKeyState:`](/Core/GlyphsCore/GSLayer/leftMetricsKeyState:) — Display string for the left metrics key and its state.
- [`GSLayer leftPlainMetricsKey`](/Core/GlyphsCore/GSLayer/leftPlainMetricsKey) — Plain effective metrics key for the left side bearing.
- [`GSLayer.widthMetricsKeyUI`](/Core/GlyphsCore/GSLayer/widthMetricsKeyUI) — Display and editing string for the width metrics key.
- [`GSLayer widthMetricsKeyUIFast`](/Core/GlyphsCore/GSLayer/widthMetricsKeyUIFast) — Fast display string for the width metrics key.
- [`GSLayer widthMetricsKeyState:`](/Core/GlyphsCore/GSLayer/widthMetricsKeyState:) — Display string for the width metrics key and its state.
- [`GSLayer widthPlainMetricsKey`](/Core/GlyphsCore/GSLayer/widthPlainMetricsKey) — Plain effective metrics key for the advance width.
- [`GSLayer.rightMetricsKeyUI`](/Core/GlyphsCore/GSLayer/rightMetricsKeyUI) — Display and editing string for the right metrics key.
- [`GSLayer rightMetricsKeyState`](/Core/GlyphsCore/GSLayer/rightMetricsKeyState) — State flags for the right metrics key.
- [`GSLayer rightMetricsKeyState:`](/Core/GlyphsCore/GSLayer/rightMetricsKeyState:) — Display string for the right metrics key and its state.
- [`GSLayer rightPlainMetricsKey`](/Core/GlyphsCore/GSLayer/rightPlainMetricsKey) — Plain effective metrics key for the right side bearing.

