<!--
{
  "availability" : [
    "iOS: 11.0.0 -",
    "iPadOS: 11.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "ARKit",
  "identifier" : "/documentation/ARKit/ARSCNView/anchor(for:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "ARKit"
    ],
    "preciseIdentifier" : "c:objc(cs)ARSCNView(im)anchorForNode:"
  },
  "title" : "anchor(for:)"
}
-->

# anchor(for:)

Returns the AR anchor associated with the specified SceneKit node, if any.

```
func anchor(for node: SCNNode) -> ARAnchor?
```

## Parameters

`node`

A SceneKit node in the view’s scene.

## Return Value

The [`ARAnchor`](/documentation/ARKit/ARAnchor) object tracking the node, or `nil` if the node is not associated with an anchor or not in the view’s scene.

---

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)