Hey,
Ideally it should hold the Z cordinate I have tried to split the vector and the AI only moves on the Y axis.