GUI Nodes

Hi there. New to DEFOLD.. So far having a terrible time trying to figure out the DEFOLD engine.. I have done the basic UI basics HOWEVER, I cant seem to find a straightforward tutorial thats understandable as to how make icon x or but Y respond to a mouse click.. Thats all I want to know.. Even the Defold tutorials dont help and dont actually show how to make the texts or icons respond to input..

Use the gui.pick_node function. Pass the node and mouse coordinates to the function when a mouse click is detected.

There’s a few GUI examples on the Defold website, like this one with a button that changes its text when clicked:

Just uninstalled Defold unfortunately. LOVE2D and LOVR werent this badly documented and my game worked amazing the 1st time i tried it.. Defold just leaves a lot to be figured out by the user which is bad. Totally irrelevant tutorials showing something you arent doing..

Thanks. But uninstalled it. I will head back to LOVE2D