UWidgetBlueprintLibrary::SetInputMode_GameOnly

Setup an input mode that allows only player input / player controller to respond to user input.

Choose your operating system:

Windows

macOS

Linux

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

Syntax

static void SetInputMode_GameOnly
(
    APlayerController * PlayerController
)

Remarks

Setup an input mode that allows only player input / player controller to respond to user input.

Any bound Input Events in this widget will be called.