---
title: ActionResult
framework: realitykit
role: symbol
role_heading: Enumeration
path: realitykit/actionresult
---

# ActionResult

Status values that an action can report back to the animation system.

## Declaration

```swift
enum ActionResult
```

## Overview

Overview Use these values within action event handlers to communicate the state of your action logic back to the animation system.

## Topics

### Getting the action result

- [ActionResult.success](realitykit/actionresult/success.md)
- [ActionResult.running](realitykit/actionresult/running.md)
- [ActionResult.failure](realitykit/actionresult/failure.md)

## Relationships

### Conforms To

- [Equatable](swift/equatable.md)
- [Escapable](swift/escapable.md)
- [Hashable](swift/hashable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Behavior trees

- [BehaviorTreeComponent](realitykit/behaviortreecomponent.md)
- [BehaviorTreeResource](realitykit/behaviortreeresource.md)
- [BehaviorTreeAction](realitykit/behaviortreeaction.md)
- [BehaviorTreeActionHandler](realitykit/behaviortreeactionhandler.md)
