---
title: name
framework: scenekit
role: symbol
role_heading: Instance Property
path: scenekit/scnnode/name
---

# name

A name associated with the node.

## Declaration

```swift
var name: String? { get set }
```

## Discussion

Discussion You can provide a descriptive name for a node to make managing your scene graph easier. Nodes loaded from a scene file may have names assigned by an artist using a 3D authoring tool. Use the childNode(withName:recursively:) or childNodes(passingTest:) method to retrieve a node from a scene graph by its name, or the SCNSceneSource class to examine nodes in a scene file without loading its scene graph. The names of nodes and their attached objects are saved when you export a scene to a file using its write(to:options:delegate:progressHandler:) method, and appear in the Xcode scene editor. The SceneKit statistics view (see showsStatistics) also shows the names of nodes with attached cameras.

## See Also

### Related Documentation

- [childNodes(passingTest:)](scenekit/scnnode/childnodes(passingtest:).md)
- [childNode(withName:recursively:)](scenekit/scnnode/childnode(withname:recursively:).md)

### Managing Node Content

- [light](scenekit/scnnode/light.md)
- [camera](scenekit/scnnode/camera.md)
- [geometry](scenekit/scnnode/geometry.md)
- [morpher](scenekit/scnnode/morpher.md)
- [skinner](scenekit/scnnode/skinner.md)
- [categoryBitMask](scenekit/scnnode/categorybitmask.md)
- [SCNBoundingVolume](scenekit/scnboundingvolume.md)
