diff --git a/README.md b/README.md index eb2d02f1..348475f8 100644 --- a/README.md +++ b/README.md @@ -8,9 +8,9 @@ Get the mouse location and move it. ```JavaScript var autonode = require("autonode.node"); + //Get the mouse position, retuns an object with x and y. var mouse=autonode.getMousePos(); - console.log("Mouse is at x:" + mouse.x + " y:" + mouse.y); //Move the mouse down by 100 pixels.