jkane
(John Kane)
November 7, 2022, 7:33pm
1
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.
1 Like
hmwillett
(Hannah Willett)
November 8, 2022, 9:23pm
2
You can just use the event-next widget to call OnClick_toolClearUI.
jkane
(John Kane)
November 9, 2022, 12:54pm
4
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.
jkane
(John Kane)
November 10, 2022, 4:13pm
6
Sorry, still not working for me. Should my Target be the button I created or the toolClearUI?
hmwillett
(Hannah Willett)
November 10, 2022, 4:26pm
7
Your trigger should be the button click and then set up the widget like I have in my screenshot.
jkane
(John Kane)
November 11, 2022, 7:28pm
8
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