Tala Esenlikler
Prompt Blueprint Library

SuppressNonFocusedInteractionPrompts

Suppresses non-focused generated interaction prompts for the local player resolved from context.

Interaction Framework 1.0.0 UE5.8 Function UInteractionUIPromptBlueprintLibrary

Convenience Blueprint helper that resolves the local player UI manager and suppresses generated prompt widgets that are not focused.

Use it from focused overlays or custom prompt widgets that should hide unrelated nearby prompts while preserving the active prompt.

Owner UInteractionUIPromptBlueprintLibrary
Module InteractionFrameworkUI
Category InteractionUI|Prompt
UFUNCTION(BlueprintCallable, Category = "InteractionUI|Prompt", meta = (WorldContext = "WorldContextObject"))
static bool SuppressNonFocusedInteractionPrompts(const UObject* WorldContextObject, FName Reason);

Parameters

Inputs
WorldContextObject
const UObject*

Context used to resolve the local player UI manager.

Reason
FName

Local ownership key, such as Inventory, Inspection, ModalFlow, or Cinematic.

Return Value

bool

True when a UI manager was resolved and suppression was applied.

Use Cases

  • Control generated interaction prompt presentation from local UI flow.

Related Docs