Jump to content

skyerzz

Members
  • Posts

    1
  • Joined

  • Last visited

skyerzz's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. I've got a GUI, extended from GuiScreen, that renders correctly, and want to listen to a mouse click on that GUI. the current code i have , to test if the click is actually listened to, is @Override public void mouseClicked(int mouseX, int mouseY, int mouseButton){ System.out.println("Clicked on " + mouseButton + " at " + mouseX + " : " + mouseY); } This however fails to work ~60% of the time. Every 5 clicks i do, i only get 2 lines written to the console. Is there a different way i should be listening for mouse clicks? I'd assume there is a way to listen for clicks with 100% accuracy
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.