SButton::IsPressed

Returns true if this button is currently pressed

Choose your operating system:

Windows

macOS

Linux

References

Module

Slate

Header

/Engine/Source/Runtime/Slate/Public/Widgets/Input/SButton.h

Include

#include "Widgets/Input/SButton.h"

Syntax

bool IsPressed() const

Remarks

Returns true if this button is currently pressed

Returns

True if pressed, otherwise false @note IsPressed used to be virtual. Use SetAppearPressed to assign an attribute if you need to override the default behavior.