# `GSLayer lockReadShapes`

*Instance Method*

Acquires the read lock for shapes.

## Declaration

```swift
func lockReadShapes()
```

```objc
- (void) lockReadShapes;
```

```python
lockReadShapes()
```

## See Also

### Shape Locks

- [`GSLayer unlockReadShapes`](/Core/GlyphsCore/GSLayer/unlockReadShapes) — Releases the read lock for shapes.
- [`GSLayer lockWriteShapes`](/Core/GlyphsCore/GSLayer/lockWriteShapes) — Acquires the write lock for shapes.
- [`GSLayer unlockWriteShapes`](/Core/GlyphsCore/GSLayer/unlockWriteShapes) — Releases the write lock for shapes.

