FSlateApplicationBase::LocateWidgetInWindow

Given a window, locate a widget under the cursor in it; returns an invalid path if cursor is not over this window.

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

FSlateApplicationBase::LocateWidgetInWindow()

FSlateApplication::LocateWidgetInWindow()

References

Module

SlateCore

Header

/Engine/Source/Runtime/SlateCore/Public/Application/SlateApplicationBase.h

Include

#include "Application/SlateApplicationBase.h"

Syntax

FWidgetPath LocateWidgetInWindow
(
    FVector2D ScreenspaceMouseCoordinate,
    const TSharedRef< SWindow > & Window,
    bool bIgnoreEnabledStatus,
    int32 UserIndex
) const

Remarks

Given a window, locate a widget under the cursor in it; returns an invalid path if cursor is not over this window.