# `GSLayer lockWriteAlignInfo`

*Instance Method*

Acquires the write lock for alignment information.

## Declaration

```swift
func lockWriteAlignInfo()
```

```objc
- (void) lockWriteAlignInfo;
```

```python
lockWriteAlignInfo()
```

## See Also

### Alignment Locks

- [`GSLayer lockReadAlignInfo`](/Core/GlyphsCore/GSLayer/lockReadAlignInfo) — Acquires the read lock for alignment information.
- [`GSLayer unlockReadAlignInfo`](/Core/GlyphsCore/GSLayer/unlockReadAlignInfo) — Releases the read lock for alignment information.
- [`GSLayer unlockWriteAlignInfo`](/Core/GlyphsCore/GSLayer/unlockWriteAlignInfo) — Releases the write lock for alignment information.

