---
title: "actionEndedWithResult(event:)"
framework: realitykit
role: symbol
role_heading: Instance Method
path: "realitykit/behaviortreeactionhandler/actionendedwithresult(event:)"
---

# actionEndedWithResult(event:)

## Declaration

```swift
mutating func actionEndedWithResult(event: Self.EventType) -> ActionResult?
```

## See Also

### Responding to action completion

- [actionTerminatedWithResult(event:)](realitykit/behaviortreeactionhandler/actionterminatedwithresult(event:).md)
- [actionSkippedWithResult(event:)](realitykit/behaviortreeactionhandler/actionskippedwithresult(event:).md)
