UE4 – Make AI move up and down?

I have this AI character that flys around on the x and y axis in random directions, but is it possible to make the character move up and down randomly? I tried movement input with a lerp and delay but it couldn’t go up and down. If anybody knows how I can achieve this, please let me know. Thank you! 🙂