Tala Esenlikler
Widget Base

TryGetPrimaryCommandPromptPresentation

Returns the prompt presentation for the first command entry.

Interaction Framework 1.0.0 UE5.8 Function UInteractionUIWidgetBase

Returns the prompt presentation for the first command entry.

Use this read path when get primary command prompt presentation from UInteractionUIWidgetBase. Check the return value before using OutPresentation.

Owner UInteractionUIWidgetBase
Module InteractionFrameworkUI
Category InteractionUI
UFUNCTION(BlueprintPure, Category = "InteractionUI")
bool TryGetPrimaryCommandPromptPresentation(FInteractionUIPromptPresentation& OutPresentation) const;

Parameters

Outputs

Return Value

bool

Returns the prompt presentation for the first command entry.

Use Cases

  • Read primary command prompt presentation and handle the missing-data case explicitly.

Related Docs