UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
EButtonPressMethod Namespace Reference

Enumerations

enum  Type : int { DownAndUp , ButtonPress , ButtonRelease }
 

Enumeration Type Documentation

◆ Type

Enumerates different methods that a button can be triggered with keyboard/controller. Normally, DownAndUp is appropriate.

Enumerator
DownAndUp 

User must press the button, then release while the button has focus to trigger the click. This is the most common type of button.

ButtonPress 

Click will be triggered immediately on button press.

ButtonRelease 

Click will always be triggered when a button release occurs on the focused button, even if the button wasn't pressed while focused.