Swipe Control

Hi, I have solved Z Axis but when i push left ot right it makes random move. I just need moving in grid and thats not working :frowning: