Skip to content

Commit

Permalink
Added whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
elemenofi committed Jul 30, 2015
1 parent 023aa03 commit 4159921
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ Get the mouse location and move it.
var robot = require("robotjs");

//Get the mouse position, returns an object with x and y.
var mouse=robot.getMousePos();
var mouse = robot.getMousePos();
console.log("Mouse is at x:" + mouse.x + " y:" + mouse.y);

//Move the mouse down by 100 pixels.
robot.moveMouse(mouse.x,mouse.y+100);
robot.moveMouse(mouse.x, mouse.y + 100);

//Left click!
robot.mouseClick();
Expand Down

0 comments on commit 4159921

Please sign in to comment.