diff --git a/README.md b/README.md index bf6ba841..cb2e53d8 100644 --- a/README.md +++ b/README.md @@ -51,7 +51,7 @@ Get pixel color under the mouse. var robot = require("robotjs"); //Get mouse position. -var mouse=robot.getMousePos(); +var mouse = robot.getMousePos(); //Get pixel color in hex format. var hex = robot.getPixelColor(mouse.x, mouse.y);