If you subtract the location of B from A, you’ll have a vector pointing from A to B, then you can use that to find a location between A and B.
If you subtract the location of B from A, you’ll have a vector pointing from A to B, then you can use that to find a location between A and B.