UWidgetBlueprintLibrary::SetInputMode_UIOnlyEx

Setup an input mode that allows only the UI 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_UIOnlyEx
(
    APlayerController * PlayerController,
    UWidget * InWidgetToFocus,
    EMouseLockMode InMouseLockMode
)

Remarks

Setup an input mode that allows only the UI to respond to user input.

This means that any bound Input Events in the widget will not be called!