---
title: "node(for:)"
framework: arkit
role: symbol
role_heading: Instance Method
path: "arkit/arscnview/node(for:)"
---

# node(for:)

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

## Declaration

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

## Parameters

- `anchor`: An anchor in the view’s AR session.

## Return Value

Return Value The node whose position in the AR scene the anchor tracks, or nil if the anchor has no associated node or is not in the view’s AR session.

## See Also

### Mapping Content to Real-World Positions

- [anchor(for:)](arkit/arscnview/anchor(for:).md)
- [unprojectPoint(_:ontoPlane:)](arkit/arscnview/unprojectpoint(_:ontoplane:).md)
