JarjarBinksR2 1 Share Posted February 11, 2019 Hello I will be going by JarjarBinksR2. I am currently learning coding. Anything I find that can help I will add it to this post. If you have anything to add post it onto here and i'll add it. @Override // Draw mouse coordinates public void onPaint(Graphics g) { int MouseX = getMouse().getX(); int MouseY = getMouse().getY(); g.drawString(("Mouse Location: " + MouseX + " " + MouseY ), 10, 120); } 120 is how far from the top. Hope this helps anyone I will be adding any random this that might help people code. Link to comment Share on other sites More sharing options...
lily 490 Share Posted February 11, 2019 Cool, thanks! Link to comment Share on other sites More sharing options...
Nex 2542 Share Posted February 11, 2019 Just incase u didnt know dreambot has a debug, Link to comment Share on other sites More sharing options...
JarjarBinksR2 1 Author Share Posted February 11, 2019 Not a problem lily Thanks for letting me know Nex. I like a lot of people might have then trying to find something like this but was not sure where to look while coding thought maybe it might help. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.