Navigation
API > API/Runtime > API/Runtime/UMG > API/Runtime/UMG/UButton
Description
Returns true if the user is actively pressing the button. Do not use this for detecting 'Clicks', use the OnClicked event instead.
| Name | IsPressed |
| Type | function |
| Header File | /Engine/Source/Runtime/UMG/Public/Components/Button.h |
| Include Path | #include "Components/Button.h" |
| Source | /Engine/Source/Runtime/UMG/Private/Components/Button.cpp |
UFUNCTION (BlueprintCallable, Category="Button")
bool IsPressed() const
true if the user is actively pressing the button otherwise false.