Module |
|
Header |
/Engine/Source/Runtime/UMG/Public/Blueprint/UserWidget.h |
Include |
#include "Blueprint/UserWidget.h" |
FEventReply OnKeyDown
(
FGeometry MyGeometry,
FKeyEvent InKeyEvent
)
Called after a key (keyboard, controller, ...) is pressed when this widget has focus (this event bubbles if not handled)
Returns whether the event was handled, along with other possible actions
Parameter |
Description |
---|---|
MyGeometry |
The Geometry of the widget receiving the event |
InKeyEvent |
Key event |