UMenuAnchor::ShouldOpenDueToClick

Returns true if we should open the menu due to a click.

Windows
MacOS
Linux

References

Module

UMG

Header

/Engine/Source/Runtime/UMG/Public/Components/MenuAnchor.h

Include

#include "Components/MenuAnchor.h"

Source

/Engine/Source/Runtime/UMG/Private/Components/MenuAnchor.cpp

Syntax

bool ShouldOpenDueToClick() const

Remarks

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.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss