# `GSGlyphsInfo updateAnchors:`

*Instance Method*

Generates missing anchors in the Layer.

## Declaration

```swift
func updateAnchors(_ layer: GSLayer) -> [GSAnchor]?
```

```objc
- (NSArray<GSAnchor *> *) updateAnchors:(GSLayer *) layer;
```

```python
updateAnchors_(layer: GSLayer) -> list[GSAnchor]
```

## Parameters

- `layer` — The Layer

