Navigation
API > API/Runtime > API/Runtime/Slate > API/Runtime/Slate/SButton
Description
Returns true if this button is currently pressed
IsPressed used to be virtual. Use SetAppearPressed to assign an attribute if you need to override the default behavior.
| Name | IsPressed |
| Type | function |
| Header File | /Engine/Source/Runtime/Slate/Public/Widgets/Input/SButton.h |
| Include Path | #include "Widgets/Input/SButton.h" |
bool IsPressed() const
True if pressed, otherwise false