UUserWidget::OnMouseEnter

The system will use this event to notify a widget that the cursor has entered it.

Windows
MacOS
Linux

References

Module

UMG

Header

/Engine/Source/Runtime/UMG/Public/Blueprint/UserWidget.h

Include

#include "Blueprint/UserWidget.h"

Syntax

void OnMouseEnter
(
    FGeometry MyGeometry,
    const FPointerEvent & MouseEvent
)

Remarks

The system will use this event to notify a widget that the cursor has entered it. This event is NOT bubbled.

Parameters

Parameter

Description

MyGeometry

The Geometry of the widget receiving the event

MouseEvent

Information about the input event

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