Hi, thanks for getting back to me!
I am aware of signals but I want to avoid connecting each individual signal from each individual button in my game, which there are many of. I could do it through script but I want to see if there is an easier way and possibly a way that would be better for performance. But if not, I guess this is the only way to do it.
Thanks again, I hope to hear from you again soon!