# `GSLayer lockReadAnchors`

*Instance Method*

Acquires the read lock for anchors.

## Declaration

```swift
func lockReadAnchors()
```

```objc
- (void) lockReadAnchors;
```

```python
lockReadAnchors()
```

## See Also

### Anchor Locks

- [`GSLayer unlockReadAnchors`](/Core/GlyphsCore/GSLayer/unlockReadAnchors) — Releases the read lock for anchors.
- [`GSLayer lockWriteAnchors`](/Core/GlyphsCore/GSLayer/lockWriteAnchors) — Acquires the write lock for anchors.
- [`GSLayer unlockWriteAnchors`](/Core/GlyphsCore/GSLayer/unlockWriteAnchors) — Releases the write lock for anchors.

