How do i stop the input of other directional keys?

Take some hd screenshot about all , there is something wrong elsewhere.
Even if you have an error that make you choose the wrong direction, or a fusion of directions, i dont see how should it fly away…
I see you get the world location of something and set it , i would see what.