GuiState.draggedWidgetOffset

filled with curPointerPos - draggedWidget.absPos at the moment of press

struct GuiState
ivec2 draggedWidgetOffset;

Meta