---
title: "convert(_:from:)"
framework: spritekit
role: symbol
role_heading: Instance Method
path: "spritekit/sknode/convert(_:from:)"
---

# convert(_:from:)

Converts a point from the coordinate system of another node in the node tree to the coordinate system of this node.

## Declaration

```swift
func convert(_ point: CGPoint, from node: SKNode) -> CGPoint
```

## Parameters

- `point`: A point in the other node’s coordinate system.
- `node`: Another node in the same node tree as this node.

## Return Value

Return Value The same point converted to this node’s coordinate system.

## See Also

### Converting Between Coordinate Systems of Different Nodes

- [Converting Coordinate Spaces](spritekit/converting-coordinate-spaces.md)
- [convert(_:to:)](spritekit/sknode/convert(_:to:).md)
