Hello,
Is there a way to receive widget input callbacks, but let those callbacks pass to the widget below even if the widget is set to EVisibility::Visible ?
If I set the widget to EVisibility::SelfHitTestInvisible I do not receive the input events anymore. If I set the widget to EVisibility::Visible the events are not forwarded to the widget below even when returning FReply::Unhandled();
void SCogImguiWidget::Construct(const FArguments& InArgs)
{
[...]
SetVisibility(EVisibility::Visible);
[...]
}
FReply SCogImguiWidget::OnMouseButtonDown(const FGeometry& MyGeometry, const FPointerEvent& MouseEvent)
{
DoSomething();
// Unhandled does not forward the even to widgets below
return FReply::Unhandled();
}
Thanks!