Confirmation Mesage in ON DROP override, then proceed with code

Hello everyone, I hope someone can help me with my problem

Since we can’t create custom events within ON DROP overrides, how can I proceed with the code after the YES button has been clicked in the confirmation widget created when the user tries to swap two objects?

Basically, if a warning is required, it should open the widget, if the user clicks yes, it should continue with the code as if it were a false.

In the Confirmation Widget, create Event Dispatchers for Confirm and Cancel. Call them when the associated button is clicked.

In the On Drop Function, after creating the Confirmation Widget, drag from it’s return value and Search for Bind OnConfirm and OnCancel delegates. Drag from the Red Event pin in the Bind node and search for Create Event. Create or Select the event from the dropdown.

1 Like