<!--
{
  "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/activeNodes",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "RealityKit"
    ],
    "preciseIdentifier" : "s:17RealityFoundation23AnimationGraphComponentV11activeNodesSayAC10ActiveNode_pGvp"
  },
  "title" : "activeNodes"
}
-->

# activeNodes

Every node that contributed to the most recent graph evaluation tick.

```
var activeNodes: [any AnimationGraphComponent.ActiveNode] { get }
```

## Discussion

The returned array is a snapshot — its element type is `any` [`AnimationGraphComponent.ActiveNode`](/documentation/RealityKit/AnimationGraphComponent/ActiveNode), so
each entry exposes only the fields common to all node kinds. To inspect node-kind-
specific state, downcast each element to [`AnimationGraphComponent.ActiveStateMachineNode`](/documentation/RealityKit/AnimationGraphComponent/ActiveStateMachineNode) or
[`AnimationGraphComponent.ActiveClipNode`](/documentation/RealityKit/AnimationGraphComponent/ActiveClipNode), or iterate [`activeStateMachineNodes`](/documentation/RealityKit/AnimationGraphComponent/activeStateMachineNodes) or [`activeClipNodes`](/documentation/RealityKit/AnimationGraphComponent/activeClipNodes)
for the same view filtered to a single kind.

---

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)