Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

java get mouse position on screen

double mouseX = MouseInfo.getPointerInfo().getLocation().getX();
double mouseY = MouseInfo.getPointerInfo().getLocation().getY();
Source by yanwittmann.de #
 
PREVIOUS NEXT
Tagged: #java #mouse #position #screen
ADD COMMENT
Topic
Name
3+1 =