<!--
{
  "availability" : [
    "iOS: 10.0.0 -",
    "iPadOS: 10.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.12.0 -",
    "tvOS: 10.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "GameplayKit",
  "identifier" : "/documentation/GameplayKit/GKOctreeNode",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "GameplayKit"
    ],
    "preciseIdentifier" : "c:objc(cs)GKOctreeNode"
  },
  "title" : "GKOctreeNode"
}
-->

# GKOctreeNode

A helper class for managing the objects you organize in an octree.

```
class GKOctreeNode
```

## Overview

You don’t create instances of this class directly; instead, a [`GKOctree`](/documentation/GameplayKit/GKOctree) object provides you with a [`GKOctreeNode`](/documentation/GameplayKit/GKOctreeNode) instance when you add an element to a tree. If you plan to remove elements from the tree, keep references to the corresponding nodes so you can use the [`remove(_:using:)`](/documentation/GameplayKit/GKOctree/remove(_:using:)) method for better performance.

## Topics

### Examining a Node

[`box`](/documentation/GameplayKit/GKOctreeNode/box)

The axis-aligned bounding box represented by the node.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)