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

# convert(_:to:)

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

## Declaration

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

## Parameters

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

## Mentioned in

Connecting Bodies with Joints Converting Coordinate Spaces

## Return Value

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

## See Also

### Converting Between Coordinate Systems of Different Nodes

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