USlateBlueprintLibrary::IsUnderLocation

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

Choose your operating system:

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.