Mouse Clicking turned off


A problem when i click - drag is OK.

I have it set for drag only per :-

((AWTMouseInput) MouseInput.get()).setDragOnly(true);

but, in simple update i have :-

(MouseInput.get().isButtonDown(0)) , but it also detects clicks.

Should i put my own click detection in. I cant see a call to detect a click as opposed to drag withion the framework

Another query - the Y axis is top down, so to do a test on say worldCoordinates one has to subtract the getYAbsolute from the screen height???

setDragOnly( true ) prevents mouse motion event to be generated of you just move the mouse over the canvas. It does not affect clicking.

If you want to react on dragging, react on mouse movement while the button is down.