Yes I want it to restart each time I press E when the widget isn’t currently showing
Try it like so:
Clicking the leave button would execute the script at the bottom and reset the index. You’d also no longer need to remove all widgets inside the dialogue.
The Get All
does not do anything here atm:
And the Remove All
may be redundant unless you really must remove the ENTIRE game interface. As a side note, widgets are happy to remove themselves from any container they’re in:
Not sure if relevant but good to know.