Guest User

Untitled

a guest
May 23rd, 2019
68
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. var Up = false;
  2. var Left = false;
  3. var Right = false;
  4. var Down = false;
  5.  
  6. function KD(event) {
  7. switch (event.keyCode) {
  8. case 37:{
  9. break;
  10. }
  11. case 38:{
  12. break;
  13. }
  14. case 39:{
  15. break;
  16. }
  17. case 40:{
  18. break;
  19. }
  20. default:{
  21. break;
  22. }
  23. }
  24. }
RAW Paste Data