Navigation
API > API/Runtime > API/Runtime/Slate > API/Runtime/Slate/Framework > API/Runtime/Slate/Framework/Application > API/Runtime/Slate/Framework/Application/FSlateApplication
- FSlateApplicationBase::LocateWindowUnderMouse()
- FSlateApplication::LocateWindowUnderMouse()
References
| Module | Slate |
| Header | /Engine/Source/Runtime/Slate/Public/Framework/Application/SlateApplication.h |
| Include | #include "Framework/Application/SlateApplication.h" |
| Source | /Engine/Source/Runtime/Slate/Private/Framework/Application/SlateApplication.cpp |
virtual FWidgetPath LocateWindowUnderMouse
(
UE::Slate::FDeprecateVector2DParameter ScreenspaceMouseCoordinate,
const TArray < TSharedRef < SWindow > > & Windows,
bool bIgnoreEnabledStatus,
int32 UserIndex
)
Remarks
Given the screen-space coordinate of the mouse cursor, searches for a string of widgets that are under the mouse.
The widgets will be returned with the associated geometry. The first item will always be the top-level window while the last item will be the leaf-most widget.