Navigation
API > API/Runtime > API/Runtime/UMG > API/Runtime/UMG/Blueprint > API/Runtime/UMG/Blueprint/UUserWidget
References
| Module | UMG |
| Header | /Engine/Source/Runtime/UMG/Public/Blueprint/UserWidget.h |
| Include | #include "Blueprint/UserWidget.h" |
FEventReply OnKeyDown
&40;
FGeometry MyGeometry,
FKeyEvent InKeyEvent
&41;
Remarks
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
Parameters
| Name | Description |
|---|---|
| MyGeometry | The Geometry of the widget receiving the event |
| InKeyEvent | Key event |