Tala Esenlikler
Prompt Blueprint Library

TryGetFirstPromptPartByStyle

Returns the first visible prompt part with the requested style name.

Interaction Framework 1.0.0 UE5.8 Function UInteractionUIPromptBlueprintLibrary

Returns the first visible prompt part with the requested style name.

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

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

Parameters

Inputs
StyleName
FName

Optional style name used by prompt presentation.

Outputs

Return Value

bool

Returns the first visible prompt part with the requested style name.

Use Cases

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

Related Docs