/Engine/Source/Runtime/UMG/Public/Blueprint/WidgetBlueprintLibrary.h
Note: This means that any bound Input events in the widget will be called.
static void SetInputMode_GameAndUIEx ( [APlayerController](API\Runtime\Engine\GameFramework\APlayerController) * PlayerController, [UWidget](API\Runtime\UMG\Components\UWidget) * InWidgetToFocus, EMouseLockMode InMouseLockMode, bool bHideCursorDuringCapture, const bool bFlushInput )