WindowElement.lastMousePosition

Stores the last known mouse position for future reference

class WindowElement
protected
MouseMotionEvent lastMousePosition;

Meta