EButtonTouchMethod::Type

Ways in which touch interactions trigger a "Clicked" event.

Choose your operating system:

Windows

macOS

Linux

References

Module

SlateCore

Header

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

Include

#include "Types/SlateEnums.h"

Syntax

namespace EButtonTouchMethod
{
    enum Type
    {
        DownAndUp,
        Down,
        PreciseTap,
    }
}

Values

Name

Description

DownAndUp

Most buttons behave this way.

Down

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

PreciseTap

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

Remarks

Ways in which touch interactions trigger a "Clicked" event.