Making AI fly

Hello, so far I can use the AiMoveTo just fine for X and Y, but whenever I add a number to Z, it doesnt move at all (because the destination cant be reached).

But I have “CanFly” set to true and Default movement is set to “Flying”.

Is there any other setting so it can move freely within the XYZ?