Button Click Clear UI

Ok, diving in!

So, I just traced what happens when a user clears a screen from the clear button in the overflow. My question is, do I need to recreate it step by step? With all of those actions and events? Below is a screenshot of part of the trace to convey what I am asking.

image

1 Like

You can just use the event-next widget to call OnClick_toolClearUI.

TooEasy

Sorry @hmwillett , you are going to have to spell it out for me. I tried adding the event-next widget and in the parameters entered

{ "event": "OnClick_toolClearUI" }

and nothing happened when I clicked my button.

Sorry, still not working for me. Should my Target be the button I created or the toolClearUI?

Your trigger should be the button click and then set up the widget like I have in my screenshot.

Thank you @hmwillett

Turns out something else was stopping it from working as I deleted all layers and just did what you said and it worked!

1 Like