Navigation
API > API/Runtime > API/Runtime/UMG > API/Runtime/UMG/UWidgetBlueprintLibrary
Description
Setup an input mode that allows only the UI to respond to user input.
Note: This means that any bound Input Events in the widget will not be called!
| Name | SetInputMode_UIOnlyEx |
| Type | function |
| Header File | /Engine/Source/Runtime/UMG/Public/Blueprint/WidgetBlueprintLibrary.h |
| Include Path | #include "Blueprint/WidgetBlueprintLibrary.h" |
| Source | /Engine/Source/Runtime/UMG/Private/WidgetBlueprintLibrary.cpp |
UFUNCTION (BlueprintCallable, BlueprintCosmetic, Category="Input",
Meta=(DisplayName="Set Input Mode UI Only"))
static void SetInputMode_UIOnlyEx
(
APlayerController * PlayerController,
UWidget * InWidgetToFocus,
EMouseLockMode InMouseLockMode,
const bool bFlushInput
)