Reset Kangaroo Solver while clicking in Rhino Viewport

If you have a script that gets keyboard input, like you posted here

couldn’t you connect the boolean from that to the Reset input of the Solver?
I’m not sure I’m following correctly though.