<!--
{
  "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/ActiveTag",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "RealityKit"
    ],
    "preciseIdentifier" : "s:17RealityFoundation23AnimationGraphComponentV9ActiveTagV"
  },
  "title" : "AnimationGraphComponent.ActiveTag"
}
-->

# AnimationGraphComponent.ActiveTag

A graph-level signal raised by the graph while certain states are active.

```
struct ActiveTag
```

## Overview

Use tags to observe outputs the graph emits back to the rest of the application —
for example, to play a footstep sound while the character is in a “running” state.
The graph reports tags that are currently active or that fired during the most
recent evaluation tick through [`activeTags`](/documentation/RealityKit/AnimationGraphComponent/activeTags).

## Topics

### Identifying the tag

[`let id: Int`](/documentation/RealityKit/AnimationGraphComponent/ActiveTag/id)

The unique identifier of the tag within the compiled graph.

### Instance Properties

[`let name: String`](/documentation/RealityKit/AnimationGraphComponent/ActiveTag/name)

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

## Relationships

### Conforms To

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

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

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

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

---

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)