Get Widget Screen Position

Pure
GetWidgetScreenPosition

Returns the absolute screen position of a widget.

Type: Pure (no side effects)
Category: Fortuna|UMG/UI Helpers
Keywords: umg/ui helpers

Inputs

NameTypeDefaultDescription
WidgetUWidget*Widget parameter

Outputs

NameTypeDescription
ScreenPositionFVector2DScreenPosition output
bIsValidboolbIsValid output

Example Use Cases

Example 1

Position a tooltip near a hovered element.

Example 2

Spawn a particle effect at a UI button's screen location.