<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macCatalyst: 27.0.0 -",
    "macOS: 27.0.0 -",
    "tvOS: 27.0.0 -",
    "visionOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "RealityKit",
  "identifier" : "/documentation/RealityKit/AnimationGraphComponent/ActiveNode",
  "metadataVersion" : "0.1.0",
  "role" : "Protocol",
  "symbol" : {
    "kind" : "Protocol",
    "modules" : [
      "RealityKit"
    ],
    "preciseIdentifier" : "s:17RealityFoundation23AnimationGraphComponentV10ActiveNodeP"
  },
  "title" : "AnimationGraphComponent.ActiveNode"
}
-->

# AnimationGraphComponent.ActiveNode

Common debug information for any node that was active during the most recent
graph evaluation tick.

```
protocol ActiveNode : Identifiable, Sendable
```

## Overview

`AnimationGraphComponent` reports active nodes through this protocol so that tools
can iterate every node uniformly. To inspect node-kind-specific state, downcast to
[`AnimationGraphComponent.ActiveStateMachineNode`](/documentation/RealityKit/AnimationGraphComponent/ActiveStateMachineNode) or [`AnimationGraphComponent.ActiveClipNode`](/documentation/RealityKit/AnimationGraphComponent/ActiveClipNode), or iterate the typed accessors
[`activeStateMachineNodes`](/documentation/RealityKit/AnimationGraphComponent/activeStateMachineNodes) and
[`activeClipNodes`](/documentation/RealityKit/AnimationGraphComponent/activeClipNodes) directly.

## Topics

### Inspecting the active node

[`var id: Int`](/documentation/RealityKit/AnimationGraphComponent/ActiveNode/id)

The unique identifier of the node within the compiled graph.

[`var wasReset: Bool`](/documentation/RealityKit/AnimationGraphComponent/ActiveNode/wasReset)

A Boolean value that indicates whether the node was reset during the last
evaluation tick.

### Instance Properties

[`var name: String`](/documentation/RealityKit/AnimationGraphComponent/ActiveNode/name)

The author-supplied name of the node from the graph definition.

## Relationships

### Inherits From

[`Identifiable`](/documentation/Swift/Identifiable)

[`Sendable`](/documentation/Swift/Sendable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

### Conforming Types

[`ActiveClipNode`](/documentation/RealityKit/AnimationGraphComponent/ActiveClipNode)

[`ActiveStateMachineNode`](/documentation/RealityKit/AnimationGraphComponent/ActiveStateMachineNode)

---

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)