Tala Esenlikler
Manager Subsystem

TryGetFocusedPromptBySurfaceIndex

Gets one resolved prompt from the focused surface by surface index.

Interaction Framework 1.0.0 UE5.8 Function UInteractionUIManagerSubsystem

Gets one resolved prompt from the focused surface by surface index.

Use this read path when get focused prompt by surface index from UInteractionUIManagerSubsystem. Check the return value before using OutPrompt.

Owner UInteractionUIManagerSubsystem
Module InteractionFrameworkUI
Category InteractionUI
UFUNCTION(BlueprintPure, Category = "InteractionUI")
bool TryGetFocusedPromptBySurfaceIndex(int32 SurfaceIndex, FInteractionRuntimeResolvedPrompt& OutPrompt) const;

Parameters

Inputs
SurfaceIndex
int32

Index of the prompt surface entry.

Outputs

Return Value

bool

True when OutPrompt was found and written to the output parameter.

Use Cases

  • Read focused prompt by surface index and handle the missing-data case explicitly.

Related Docs