Navigation
API > API/Runtime > API/Runtime/UMG > API/Runtime/UMG/UWidgetBlueprintLibrary
Description
Setup an input mode that allows only player input / player controller to respond to user input.
Note: Any bound Input Events in this widget will be called.
| Name | SetInputMode_GameOnly |
| 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")
static void SetInputMode_GameOnly
(
APlayerController * PlayerController,
const bool bFlushInput
)