Navigation
API > API/Runtime > API/Runtime/UMG > API/Runtime/UMG/UMenuAnchor
Description
Returns true if we should open the menu due to a click. Sometimes we should not, if the same MouseDownEvent that just closed the menu is about to re-open it because it happens to land on the button.
| Name | ShouldOpenDueToClick |
| Type | function |
| Header File | /Engine/Source/Runtime/UMG/Public/Components/MenuAnchor.h |
| Include Path | #include "Components/MenuAnchor.h" |
| Source | /Engine/Source/Runtime/UMG/Private/Components/MenuAnchor.cpp |
UFUNCTION (BlueprintCallable, Category="Menu Anchor")
bool ShouldOpenDueToClick() const