How can i make my AI smoothly follow the middle of two points

i used the aimoveto in the behaviour tree? i showed that? the location gets set correctly through location blackboard value?