# `GSLayer.coordinates`

*Instance Property*

Explicit Intermediate-layer coordinates keyed by axis ID.

## Declaration

```swift
var coordinates: [String : NSNumber] { get set }
```

```objc
@property (nonatomic, strong) NSDictionary<NSString *,NSNumber *> * coordinates;
```

```python
coordinates() -> dict[str, NSNumber]
setCoordinates_(coordinates: dict[str, NSNumber])
```

## Discussion

Returns an empty dictionary when the layer has no coordinates. Setting an empty dictionary removes the coordinates, so the layer is no longer an Intermediate layer.

## See Also

### Intermediate Layers

- [`GSLayer coordinateForAxisId:`](/Core/GlyphsCore/GSLayer/coordinateForAxisId:) — Returns an explicit Intermediate-layer coordinate, or `NSNotFound` when no coordinate is set for the axis.
- [`GSLayer braceCoordinateAxes`](/Core/GlyphsCore/GSLayer/braceCoordinateAxes) — Axes represented by Intermediate-layer coordinates.
- [`GSLayer braceAxesValuesList:axes:`](/Core/GlyphsCore/GSLayer/braceAxesValuesList:axes:) — Copies explicit Intermediate-layer coordinates into an axis-value buffer.
- [`GSLayer axesValuesList:axes:`](/Core/GlyphsCore/GSLayer/axesValuesList:axes:) — Copies the internal values for the requested axes into a buffer.
- [`GSLayer keyForAttributeCoordinates`](/Core/GlyphsCore/GSLayer/keyForAttributeCoordinates) — A stable key describing the complete Intermediate-layer location.
- [`GSLayer descriptionForAttributeCoordinates`](/Core/GlyphsCore/GSLayer/descriptionForAttributeCoordinates) — A display description of the explicit Intermediate-layer coordinates.

