SWidget::OnMouseLeave

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

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

References

Module

SlateCore

Header

/Engine/Source/Runtime/SlateCore/Public/Widgets/SWidget.h

Include

#include "Widgets/SWidget.h"

Source

/Engine/Source/Runtime/SlateCore/Private/Widgets/SWidget.cpp

Syntax

virtual void OnMouseLeave
(
    const FPointerEvent & MouseEvent
)

Remarks

The system will use this event to notify a widget that the cursor has left it. This event is uses a custom bubble strategy.

Parameters

Parameter

Description

MouseEvent

Information about the input event