Mouse position not updating when holding left mouse button?

In SButton::OnMouseButtonDown , depending on the EButtonClickMethod , the Reply will be marked with FReply::Handled().CaptureMouse( AsShared() ); , which “captures the mouse”. This is what is causing GetMousePosition not to update while a mouse button is pressed. If you use one of the other ButtonClickMethods like MouseDown or PreciseClick you won’t get this effect.