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.
UFUNCTION(BlueprintCallable, Category = "InteractionUI|Prompt", meta = (WorldContext = "WorldContextObject"))
static bool SuppressNonFocusedInteractionPrompts(const UObject* WorldContextObject, FName Reason);
Parameters
Inputs
WorldContextObject
Context used to resolve the local player UI manager.
Reason
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.