SWidget::FindChildUnderMouse

Windows
MacOS
Linux

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

static int32 FindChildUnderMouse
(
    const FArrangedChildren & Children,
    const FPointerEvent & MouseEvent
)

Returns

The index of the child that the mouse is currently hovering

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