---
title: "canAddNode(_:)"
framework: realitykit
role: symbol
role_heading: Instance Method
platforms: [iOS 27.0+, iPadOS 27.0+, tvOS 27.0+, visionOS 27.0+]
path: "realitykit/shadergraph/canaddnode(_:)"
---

# canAddNode(_:)

Returns whether a node can be added to the graph.

## Declaration

```swift
final func canAddNode(_ node: ShaderGraph.Node) -> Bool
```
