# `GSLayer coordinateForAxisId:`

*Instance Method*

Returns an explicit Intermediate-layer coordinate, or `NSNotFound` when no coordinate is set for the axis.

## Declaration

```swift
func coordinate(forAxisId axisId: String) -> CGFloat
```

```objc
- (CGFloat) coordinateForAxisId:(NSString *) axisId;
```

```python
coordinateForAxisId_(axisId: str) -> float
```

## Parameters

- `axisId` — The axis identifier.

## See Also

### Intermediate Layers

- [`GSLayer.coordinates`](/Core/GlyphsCore/GSLayer/coordinates) — Explicit Intermediate-layer coordinates keyed by axis ID.
- [`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.

