Tala Esenlikler
Widget Base

SetProjectedScreenPosition

Sets the widget's projected screen position, optionally removing DPI scale first.

Interaction Framework 1.0.0 UE5.8 Function UInteractionUIWidgetBase

Sets the widget’s projected screen position, optionally removing DPI scale first.

Use this state-change call as part of prompt UI and widget presentation. When the signature is authority-only, call it from server-owned gameplay flow so replicated target state remains consistent.

Owner UInteractionUIWidgetBase
Module InteractionFrameworkUI
Category InteractionUI
UFUNCTION(BlueprintCallable, Category = "InteractionUI")
void SetProjectedScreenPosition(FVector2D InScreenPosition, bool bRemoveDPIScale = true);

Parameters

Inputs
InScreenPosition
FVector2D

Screen position supplied to the widget.

bRemoveDPIScale
bool Default: true

True to remove viewport DPI scale from the result.

Use Cases

  • Change prompt UI and widget presentation state from the correct gameplay authority or owner.

Related Docs