Navigation
API > API/Runtime > API/Runtime/SlateCore > API/Runtime/SlateCore/SWidget
Description
The system will use this event to notify a widget that the cursor has entered it. This event is uses a custom bubble strategy.
| Name | OnMouseEnter |
| Type | function |
| Header File | /Engine/Source/Runtime/SlateCore/Public/Widgets/SWidget.h |
| Include Path | #include "Widgets/SWidget.h" |
| Source | /Engine/Source/Runtime/SlateCore/Private/Widgets/SWidget.cpp |
virtual void OnMouseEnter
(
const FGeometry & MyGeometry,
const FPointerEvent & MouseEvent
)
Parameters
| Name | Remarks |
|---|---|
| MyGeometry | The Geometry of the widget receiving the event |
| MouseEvent | Information about the input event |