USlateBlueprintLibrary::IsUnderLocation

Absolute coordinates could be either desktop or window space depending on what space the root of the widget hierarchy is in.

Windows
MacOS
Linux

References

Module

UMG

Header

/Engine/Source/Runtime/UMG/Public/Blueprint/SlateBlueprintLibrary.h

Include

#include "Blueprint/SlateBlueprintLibrary.h"

Source

/Engine/Source/Runtime/UMG/Private/SlateBlueprintLibrary.cpp

Syntax

static bool IsUnderLocation
(
    const FGeometry & Geometry,
    const FVector2D & AbsoluteCoordinate
)

Remarks

Absolute coordinates could be either desktop or window space depending on what space the root of the widget hierarchy is in.

Returns

true if the provided location in absolute coordinates is within the bounds of this geometry.

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