---
title: AnimationGraphComponent.ActiveStateMachineNode
framework: realitykit
role: symbol
role_heading: Structure
path: realitykit/animationgraphcomponent/activestatemachinenode
---

# AnimationGraphComponent.ActiveStateMachineNode

Contains state machine debug information for an active state machine node within a compiled animation graph, used for inspection and debugging.

## Declaration

```swift
struct ActiveStateMachineNode
```

## Topics

### Identifying the node

- [id](realitykit/animationgraphcomponent/activestatemachinenode/id.md)

### Inspecting the node state

- [currentState](realitykit/animationgraphcomponent/activestatemachinenode/currentstate.md)
- [previousState](realitykit/animationgraphcomponent/activestatemachinenode/previousstate.md)
- [lastTransition](realitykit/animationgraphcomponent/activestatemachinenode/lasttransition.md)
- [wasReset](realitykit/animationgraphcomponent/activestatemachinenode/wasreset.md)

### Instance Properties

- [name](realitykit/animationgraphcomponent/activestatemachinenode/name.md)

## Relationships

### Conforms To

- [AnimationGraphComponent.ActiveNode](realitykit/animationgraphcomponent/activenode.md)
- [Equatable](swift/equatable.md)
- [Identifiable](swift/identifiable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Accessing active nodes

- [activeNodes](realitykit/animationgraphcomponent/activenodes.md)
- [AnimationGraphComponent.ActiveNode](realitykit/animationgraphcomponent/activenode.md)
- [activeClipNodes](realitykit/animationgraphcomponent/activeclipnodes.md)
- [AnimationGraphComponent.ActiveClipNode](realitykit/animationgraphcomponent/activeclipnode.md)
- [activeStateMachineNodes](realitykit/animationgraphcomponent/activestatemachinenodes.md)
