# `GSLayer setNeedUpdateMetrics`

*Instance Method*

Marks the cached side bearings as needing an update.

## Declaration

```swift
func setNeedUpdateMetrics()
```

```objc
- (void) setNeedUpdateMetrics;
```

```python
setNeedUpdateMetrics()
```

## See Also

### Marking Updates

- [`GSLayer elementDidChange:`](/Core/GlyphsCore/GSLayer/elementDidChange:) — Notifies the layer that one of its elements changed.
- [`GSLayer setNeedUpdateShapes`](/Core/GlyphsCore/GSLayer/setNeedUpdateShapes) — Marks representations derived from the layer geometry as needing an update.
- [`GSLayer setNeedUpdateMetricsFast`](/Core/GlyphsCore/GSLayer/setNeedUpdateMetricsFast) — Marks the cached side bearings as needing an update without locking.
- [`GSLayer preloadContent`](/Core/GlyphsCore/GSLayer/preloadContent) — Loads content referenced by components in preparation for subsequent access.

