# `GSAnchor.name`

*Instance Property*

The name that determines the attachment role.

## Declaration

```swift
var name: String { get set }
```

```objc
@property (nonatomic, copy) NSString * name;
```

[See also `name` in the Python API](https://docu.glyphsapp.com/#GSAnchor.name)

```python
pyobjc_instanceMethods.name() -> str
pyobjc_instanceMethods.setName_(name: str)
```

## Discussion

Assigning an empty string has no effect.

## See Also

### Anchor Identity

- [`GSAnchor setNameFast:`](/Core/GlyphsCore/GSAnchor/setNameFast:) — Sets the name without copying it or updating an owning layer.

