SWindow::OnMouseButtonUp

The system calls this method to notify the widget that a mouse button was release within it.

Windows
MacOS
Linux

Override Hierarchy

SWidget::OnMouseButtonUp()

SWindow::OnMouseButtonUp()

References

Module

SlateCore

Header

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

Include

#include "Widgets/SWindow.h"

Source

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

Syntax

virtual FReply OnMouseButtonUp
(
    const FGeometry & MyGeometry,
    const FPointerEvent & MouseEvent
)

Remarks

The system calls this method to notify the widget that a mouse button was release within it. This event is bubbled.

Returns

Whether the event was handled along with possible requests for the system to take action.

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