> For the complete documentation index, see [llms.txt](https://lochiwei.gitbook.io/ios/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://lochiwei.gitbook.io/ios/swift-playgrounds/learn-to-code-2/types/nodewrapper.md).

# NodeWrapper

```swift
// ⭐️ defined in Item.swift

/// NodeWrapper provides a level of abstraction over SCNNode so that
/// interaction with the node must be routed through the world building API.
public class NodeWrapper {
    fileprivate let backingNode: SCNNode
    
    public var isModular: Bool
    
    init(_ node: SCNNode) {
        backingNode = node
        isModular = false
    }
    
    init(identifier: WorldNodeIdentifier) {
        backingNode = identifier.makeNode()
        isModular = true
    }
}
```
