/Engine/Source/Runtime/Engine/Classes/Engine/GameViewportClient.h
Sets whether or not the cursor is hidden when the viewport captures the mouse
void SetHideCursorDuringCapture ( bool InHideCursorDuringCapture )