ignore left mouse button click in game when clicking on gui buttons

Hi I’m wondering if you can help me ? I have two gui GUI buttons created using “function OnGUI” How would I ignore mouse clicks in the game when clicking on the GUI buttons ?

Here’s a very similar question asked a couple days ago: