vec2 UI::GetMouseDragDelta(MouseButton button = UI::MouseButton::Left, float lock_threshold = - 1)
Returns the delta from the initial clicking position while the mouse button is pressed or was just released. This is locked and will return 0.0f until the mouse moves past a distance threshold at least once.
UI::MouseButton
button
float
lock_threshold
vec2