# `GSShape getPositionsFromShape:`

*Instance Method*

Copies corresponding positions and transformation values from another shape.

## Declaration

```swift
func getPositionsFrom(_ otherPath: GSShape)
```

```objc
- (void) getPositionsFromShape:(GSShape *) otherPath;
```

```python
getPositionsFromShape_(otherPath: GSShape)
```

## Parameters

- `otherPath` — The shape providing the geometric values.

## Discussion

Both shapes must have the same concrete type and compatible structure. Other shape content is preserved.

## See Also

### Geometry

- [`GSShape transform:`](/Core/GlyphsCore/GSShape/transform:) — Applies an affine transformation to the complete shape.
- [`GSShape transform:selection:`](/Core/GlyphsCore/GSShape/transform:selection:) — Applies an affine transformation to selected elements of the shape.
- [`GSShape transformFast:grid:`](/Core/GlyphsCore/GSShape/transformFast:grid:) — Applies an affine transformation and aligns the resulting coordinates to a grid without registering undo or notifying the layer.
- [`GSShape moveWithPoint:`](/Core/GlyphsCore/GSShape/moveWithPoint:) — Translates the complete shape by an offset.

