How to get the current running sequence of a Behavior Tree?

Thats makes a lot of sense, thanks for the answer. Also thanks for the optimization advice.