---
title: "init(geometry:)"
framework: scenekit
role: symbol
role_heading: Initializer
path: "scenekit/scnnode/init(geometry:)"
---

# init(geometry:)

Creates and returns a node object with the specified geometry attached.

## Declaration

```swift
init(geometry: SCNGeometry?)
```

## Parameters

- `geometry`: The geometry to be attached.

## Return Value

Return Value A new node object with the geometry attached, or nil if initialization is not successful.
