Navigation
API > API/Runtime > API/Runtime/UMG > API/Runtime/UMG/UUserWidget
Description
The system calls this method to notify the widget that a mouse moved within it. This event is bubbled.
| Name | OnMouseMove |
| Type | function |
| Header File | /Engine/Source/Runtime/UMG/Public/Blueprint/UserWidget.h |
| Include Path | #include "Blueprint/UserWidget.h" |
UFUNCTION (BlueprintImplementableEvent, BlueprintCosmetic, Category="Mouse")
FEventReply OnMouseMove
(
FGeometry MyGeometry,
const FPointerEvent & MouseEvent
)
Whether the event was handled along with possible requests for the system to take action.
Parameters
| Name | Remarks |
|---|---|
| MyGeometry | The Geometry of the widget receiving the event |
| MouseEvent | Information about the input event |