EButtonClickMethod::Type

Enumerates different methods that a button click can be triggered.

Windows
MacOS
Linux

References

Module

SlateCore

Header

/Engine/Source/Runtime/SlateCore/Public/Types/SlateEnums.h

Include

#include "Types/SlateEnums.h"

Syntax

namespace EButtonClickMethod
{
    enum Type
    {
        DownAndUp,
        MouseDown,
        MouseUp,
        PreciseClick,
    }
}

Values

Name

Description

DownAndUp

User must press the button, then release while over the button to trigger the click.

MouseDown

Click will be triggered immediately on mouse down, and mouse will not be captured.

MouseUp

Click will always be triggered when mouse button is released over the button, even if the button wasn't pressed down over it.

PreciseClick

Inside a list, buttons can only be clicked with precise tap.

Remarks

Enumerates different methods that a button click can be triggered. Normally, DownAndUp is appropriate.

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