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.
UFUNCTION(BlueprintCallable, Category = "InteractionUI")
void SetProjectedScreenPosition(FVector2D InScreenPosition, bool bRemoveDPIScale = true);
Parameters
Inputs
InScreenPosition
Screen position supplied to the widget.
bRemoveDPIScale
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.