Here is the simplest approach I found to implement a Double Click logic. Along with that you can see there’s a logic to actually get a reference of your DialogMasterBP using GetAllActorsOfClass (change the Actor class input to the correct DialogMaster_BP) AND you can put your logic to remove all widgets in the sequence.
The DoubleClickMaxInterval is the maximum amount of time you will leave for the user to actually capture a double click. Note there’s a retriggerable delay instead of a simple Delay node.
Inside the DialogMasterBP class, what I was explaining in the previous post was a simple adjustment in your script:
Basically is to declare a TimerHandle type variable and store it to be able to call it correctly in StopDialog, and avoid getting an invalid reference in Clear and Invalidate node.
That’s my suggestion for what you’ve shown to me.
I would highly avoid the need of GetAllActorsOfClass and for that I suggest you to store inside your Widget class in any part of your code a reference for the DialogMasterBP and access it directly.