SObjectWidget::OnCursorQuery

The system asks each widget under the mouse to provide a cursor. This event is bubbled.

Windows
MacOS
Linux

Override Hierarchy

SWidget::OnCursorQuery()

SObjectWidget::OnCursorQuery()

References

Module

UMG

Header

/Engine/Source/Runtime/UMG/Public/Slate/SObjectWidget.h

Include

#include "Slate/SObjectWidget.h"

Source

/Engine/Source/Runtime/UMG/Private/Slate/SObjectWidget.cpp

Syntax

virtual FCursorReply OnCursorQuery
(
    const FGeometry & MyGeometry,
    const FPointerEvent & CursorEvent
) const

Remarks

The system asks each widget under the mouse to provide a cursor. This event is bubbled.

Returns

FCursorReply::Unhandled() if the event is not handled; return FCursorReply::Cursor() otherwise.

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