Get Widget Screen Position
PureGetWidgetScreenPositionReturns the absolute screen position of a widget.
Type: Pure (no side effects)
Category: Fortuna|UMG/UI Helpers
Keywords: umg/ui helpers
Inputs
| Name | Type | Default | Description |
|---|---|---|---|
| Widget | UWidget* | — | Widget parameter |
Outputs
| Name | Type | Description |
|---|---|---|
| ScreenPosition | FVector2D | ScreenPosition output |
| bIsValid | bool | bIsValid 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.