Interface GuiDrag
public interface GuiDrag
Follows the mouse from
GuiInput.beginDrag(GuiDrag) until the button is released.-
Method Summary
-
Method Details
-
moved
void moved(double x, double y) - Parameters:
x- Mouse x in GUI-scaled pixelsy- Mouse y in GUI-scaled pixels
-
released
default void released()Called once when the drag ends, also when the GUI closes during it.
-