How to use "OnClicked" node?

Thank you very much for your time, really appreciate it! I’ll try to finish this as soon as possible and give you the results, although it may take me a while.