# `GSLayer anchorName:forScale:`

*Type Method*

Anchor name adjusted for a component scale.

## Declaration

```swift
class func anchorName(_ currAnchorKey: String, forScale scale: NSPoint) -> String
```

```objc
+ (NSString *) anchorName:(NSString *) currAnchorKey forScale:(NSPoint) scale;
```

```python
anchorName_forScale_(currAnchorKey: str, scale: NSPoint) -> str
```

## Discussion

Mirrored scales swap directional anchor name parts such as `left` and `right`.

