I have a selector with 2 tasks, in the first I implement an abort event where I set a variable to true, in the second task I have a decorator that reads that variable and executes if it is true, but takes it as false, the tree is restarted, and upon reaching this selector, the task just there takes it as true and is executed
this is the behavior tree
and this is the abort event in BTT_piñas_altas task