I'm developing a program that has many buttons that should do a similar action when clicked, but with a small difference based on which button was clicked.
The problem is that the only straightforward path is to code this for each button, which would be a very repetitive task. Is there a way to program simply one block that would get the click on any button and which button was clicked?