Get button transform / disable other functions when click on button

Hello,
I’m working on augmented reality game (mobile development). I have created a simple button in the scene, which after being clicked, changes scene to main menu. But if I’m tapping the button with my finger, it is also calling other functions responsible for tapping.
How can I get the exact button transform, so I can exclude this part of screen from calling other functions? Or is there any easy way to just tell Unity Engine: “HEY, IF YOU TAP ON THIS BUTTON, JUST GO TO OTHER SCENE, DON’T CALL OTHER FUNCTIONS”?

Problem solved:

Try this if you have the same problem.
Cheers!