UUserWidget::OnFocusReceived

Called when keyboard focus is given to this widget. This event does not bubble.

Windows
MacOS
Linux

References

Module

UMG

Header

/Engine/Source/Runtime/UMG/Public/Blueprint/UserWidget.h

Include

#include "Blueprint/UserWidget.h"

Syntax

FEventReply OnFocusReceived
(
    FGeometry MyGeometry,
    FFocusEvent InFocusEvent
)

Remarks

Called when keyboard focus is given to this widget. This event does not bubble.

Returns

Returns whether the event was handled, along with other possible actions

Parameters

Parameter

Description

MyGeometry

The Geometry of the widget receiving the event

InFocusEvent

FocusEvent

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