how to make Click Button independent from click to shoot?

so i have a character and when i click (Input.GetMouseButton(0)) he shoots.
I added a button as a special move and when i click the button the character shoots.how to make my character not to shoot when the button is pressed?(i cant disable the shoot script) i just want to make the button area not recognizable from the shoot script or smth…

EventSystem.current.IsPointerOverGameObject() was my solution :slight_smile: