Tala Esenlikler
Prompt Blueprint Library

TryGetFirstPromptPartByMetadata

Returns the first visible prompt part with the requested metadata tag.

Interaction Framework 1.0.0 UE5.7 Function UInteractionUIPromptBlueprintLibrary

Returns the first visible prompt part with the requested metadata tag.

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

Owner UInteractionUIPromptBlueprintLibrary
Module InteractionFrameworkUI
Category InteractionUI|Prompt
UFUNCTION(BlueprintPure, Category = "InteractionUI|Prompt")
static bool TryGetFirstPromptPartByMetadata( const FInteractionUIPromptPresentation& Presentation, FName MetadataTag, FInteractionUIPromptPartPresentation& OutPart);

Parameters

Inputs
MetadataTag
FName

Optional metadata tag used by prompt presentation.

Outputs

Return Value

bool

Returns the first visible prompt part with the requested metadata tag.

Use Cases

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

Related Docs