SWindow::IsScreenspaceMouseWithin

Windows
MacOS
Linux

References

Module

SlateCore

Header

/Engine/Source/Runtime/SlateCore/Public/Widgets/SWindow.h

Include

#include "Widgets/SWindow.h"

Source

/Engine/Source/Runtime/SlateCore/Private/Widgets/SWindow.cpp

Syntax

bool IsScreenspaceMouseWithin
(
    FVector2D ScreenspaceMouseCoordinate
) const

Returns

true if mouse coordinates is within this window

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