# `GSGlyphEditView cachedPositionAtIndex:`

*Instance Method*

Returns the cached position at a layer index.

## Declaration

```swift
func cachedPosition(at idx: UInt) -> NSPoint
```

```objc
- (NSPoint) cachedPositionAtIndex:(NSUInteger) idx;
```

```python
cachedPositionAtIndex_(idx: int) -> NSPoint
```

## Parameters

- `idx` — The cached index

## Return Value

The position

