Tala Esenlikler
Prompt Blueprint Library

TryGetFirstPromptPartByPriority

Returns the first visible prompt part that matches the provided type priority order.

Interaction Framework 1.0.0 UE5.8 Function UInteractionUIPromptBlueprintLibrary

Returns the first visible prompt part that matches the provided type priority order.

Use this read path when get first prompt part by priority from UInteractionUIPromptBlueprintLibrary. Check the return value before using OutPart.

Owner UInteractionUIPromptBlueprintLibrary
Module InteractionFrameworkUI
Category InteractionUI|Prompt
UFUNCTION(BlueprintPure, Category = "InteractionUI|Prompt")
static bool TryGetFirstPromptPartByPriority( const FInteractionUIPromptPresentation& Presentation, const TArray<EInteractionUIPromptPartType>& PreferredTypes, FInteractionUIPromptPartPresentation& OutPart);

Parameters

Inputs
Outputs

Return Value

bool

Returns the first visible prompt part that matches the provided type priority order.

Use Cases

  • Read first prompt part by priority and handle the missing-data case explicitly.

Related Docs