<!--
{
  "availability" : [
    "iOS: 8.0.0 - 26.0.0",
    "iPadOS: 8.0.0 - 26.0.0",
    "macCatalyst: 13.1.0 - 26.0.0",
    "macOS: 10.8.0 - 26.0.0",
    "tvOS: 9.0.0 - 26.0.0",
    "visionOS: 1.0.0 - 26.0.0",
    "watchOS: 3.0.0 - 26.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "SceneKit",
  "identifier" : "/documentation/SceneKit/SCNNode/convertPosition(_:to:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "SceneKit"
    ],
    "preciseIdentifier" : "c:objc(cs)SCNNode(im)convertPosition:toNode:"
  },
  "title" : "convertPosition(_:to:)"
}
-->

# convertPosition(_:to:)

Converts a position from the node’s local coordinate space to that of another node.

```
func convertPosition(_ position: SCNVector3, to node: SCNNode?) -> SCNVector3
```

## Parameters

`position`

A position in the node’s local coordinate space.

`node`

Another node in the same scene graph as the node, or `nil` to convert to the scene’s world coordinate space.

## Return Value

A position in the local coordinate space defined by the other node.

## See Also

[`simdConvertPosition(_:to:)`](/documentation/SceneKit/SCNNode/simdConvertPosition(_:to:))

Converts a position from the node’s local coordinate space to that of another node.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)