I finally undestood how to pass the click to the GUI, now I haev to make it actually work