EButtonTouchMethod::Type

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

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.

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