Navigation
API > API/Runtime > API/Runtime/UMG > API/Runtime/UMG/Blueprint > API/Runtime/UMG/Blueprint/UWidgetBlueprintLibrary
References
| Module | UMG |
| Header | /Engine/Source/Runtime/UMG/Public/Blueprint/WidgetBlueprintLibrary.h |
| Include | #include "Blueprint/WidgetBlueprintLibrary.h" |
| Source | /Engine/Source/Runtime/UMG/Private/WidgetBlueprintLibrary.cpp |
static void SetInputMode_GameAndUIEx
&40;
APlayerController &42; PlayerController,
UWidget &42; InWidgetToFocus,
EMouseLockMode InMouseLockMode,
bool bHideCursorDuringCapture,
const bool bFlushInput
&41;
Remarks
Setup an input mode that allows only the UI to respond to user input, and if the UI doesn't handle it player input / player controller gets a chance.
Note: This means that any bound Input events in the widget will be called.