How to isolate buttons press

Hello,
I’m making a game that when you touch the screen, the main player perform a jump.
I’ve also some buttons on the upper part of the screen. I use those buttons to store the items that the player ca use.
The problem is that when I touch those buttons to activate the items, the player performs a jump too.

How can I isolate the button press ? so the player when I click those buttons doesn’t perform a jump …

use contains to define areas and then check if the mouse in the area before allowing the jump.

The way i’m doing it, is by having the buttons as GUITextures and checking if the touch is within the texture with HitTest(touch.position) → touch : Touch = Input.GetTouch