Guest User

Untitled

a guest
Jul 16th, 2018
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. $(document).on('mousemove', function() {
  2. if(keyboard.isPressed('a')) {
  3. // do something cool now
  4. console.log('The user pressed a while moving the mouse');
  5. }
  6. })
Add Comment
Please, Sign In to add comment