EWidgetInteractionSource

The interaction source for the widget interaction component, e.g. where do we try and trace from to try to find a widget under a virtual pointer device.

Windows
MacOS
Linux

References

Module

UMG

Header

/Engine/Source/Runtime/UMG/Public/Components/WidgetInteractionComponent.h

Include

#include "Components/WidgetInteractionComponent.h"

Syntax

enum EWidgetInteractionSource
{
    World,
    Mouse,
    CenterScreen,
    Custom,
}

Values

Name

Description

World

Sends traces from the world location and orientation of the interaction component.

Mouse

Sends traces from the mouse location of the first local player controller.

CenterScreen

Sends trace from the center of the first local player's screen.

Custom

Sends traces from a custom location determined by the user.

Remarks

The interaction source for the widget interaction component, e.g. where do we try and trace from to try to find a widget under a virtual pointer device.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss