# Aborting state tree branches

**URL:** <https://forums.unrealengine.com/t/aborting-state-tree-branches/1854431>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine, question\
**Created:** [May 13, 2024, 6:56pm UTC](https://forums.unrealengine.com/t/aborting-state-tree-branches/1854431 "2024-05-13T18:56:27Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Shmoopy1701](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/shmoopy1701/32/1194536_2.png) [@Shmoopy1701](https://forums.unrealengine.com/u/Shmoopy1701)\
**Post date:** [May 14, 2024, 12:50am UTC](https://forums.unrealengine.com/t/aborting-state-tree-branches/1854431/2 "2024-05-14T00:50:14Z")

</div>

There are many valid ways to approach state machine code. I did a write up on our system in a post here. Might give you some ideas:

[Looking for suggestions on a state machine system to organize player character code - Programming & Scripting / C++ - Epic Developer Community Forums (unrealengine.com)](https://forums.unrealengine.com/t/looking-for-suggestions-on-a-state-machine-system-to-organize-player-character-code/1533881)

---

_[View the full topic](https://forums.unrealengine.com/t/aborting-state-tree-branches/1854431)._
