Navigation
API > API/Runtime > API/Runtime/UMG
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.
| Name | EWidgetInteractionSource |
| Type | enum |
| Header File | /Engine/Source/Runtime/UMG/Public/Components/WidgetInteractionComponent.h |
| Include Path | #include "Components/WidgetInteractionComponent.h" |
Syntax
enum EWidgetInteractionSource
{
World,
Mouse,
CenterScreen,
Custom,
}
Values
| Name | Remarks |
|---|---|
| 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. |