Use W, A, S, D to move around. 31 blocks
Instead of using "if" blocks, this is made with variables. Please see inside the project, so that you can believe me.