RealDocs

UBorder::OnMouseDoubleClickEvent

property UMG Blueprint Since 4.0
#include "Components/Border.h"
Access: public Specifiers: UPROPERTYEditAnywhere

Description

Bindable event fired when the border receives a mouse double-click. Bind a function returning FEventReply from the widget's Details panel to handle it.

Caveats & Gotchas

  • This is a single-cast bindable delegate, not a BlueprintAssignable multicast event — it must be wired up via the 'Bind' button in the widget Details panel, not an EventDispatcher node in the graph.
  • Fires in addition to (not instead of) the mouse-button-down event for the second click; you'll typically see both fire in the same interaction.
  • The double-click timing window is governed by platform/OS settings, not a value you can configure on the widget.

Signature

UPROPERTY(EditAnywhere, Category=Events, meta=( IsBindableEvent="True" ))
FOnPointerEvent OnMouseDoubleClickEvent;

Example

Bind a double-click handler in the Details panel Blueprint
In the UMG Designer, select the Border, expand the Events category, click 'Bind' next to On Mouse Double Click Event, and choose or create a function with signature FEventReply(FGeometry MyGeometry, const FPointerEvent& MouseEvent). Return UWidgetBlueprintLibrary::Handled() to consume the event.

Version History

Introduced in: 4.0

Version Status Notes
5.6 stable

Feedback

Was this helpful?

Suggest an edit

Select a field above to begin editing.