# `GSWindowController updateAnchorsForLayer:`

*Instance Method*

## Declaration

```swift
func updateAnchors(for layer: GSLayer)
```

```objc
- (void) updateAnchorsForLayer:(GSLayer *) layer;
```

```python
updateAnchorsForLayer_(layer: GSLayer)
```

