FSlateApplication::IsWidgetDirectlyHovered

Gets whether or not a particular widget is directly hovered.

Windows
MacOS
Linux

Override Hierarchy

FSlateApplicationBase::IsWidgetDirectlyHovered()

FSlateApplication::IsWidgetDirectlyHovered()

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

Syntax

virtual bool IsWidgetDirectlyHovered
(
    const TSharedPtr< const SWidget > Widget
) const

Remarks

Gets whether or not a particular widget is directly hovered. Directly hovered means that the widget is directly under the pointer, is not true for ancestors tho they are Hovered.

Returns

True if the widget is directly hovered, otherwise false.

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