Leave Move To Location or Actor Task On Condition

Thanks for your reply kgamble.

Sadly that didn’t seem to work. I’m attaching a picture of the nodes in the behavior tree between the aggro check node and the wander sequence. The AI chooses to wander or idle if TargetToFollow is not set. It leaves the idle state immediately if TargetToFollow gets set but it does not leave the wander state if TargetToFollow gets set. Why does it work with the idle task but not the wander task?