Hi.
i want to crete a function to check, if a specified button is being clicked. The purpose is to store a variable
with different value based on what user clicked. So, for example there are 5 buttons. if I clicked the 1st button,
then the variable will store ‘1’, ‘2’ for clicking the 2nd button, and so on.
is there any API for checking items like rectangles?