VERY SIMPLE LOOK AT THIS using the sprite idea from the_winch
rem the background here
get image 1,0,0,1,1,1
rem replace box with your button
box 0,0,50,50
box 0,0,50,50
box 0,0,50,50
rem this makes the box into image
get image 2,0,0,50,50,1
get image 3,0,0,50,50,2
get image 4,0,0,50,50,3
cls
rem makes image into sprite
sprite 2,100,100,2
sprite 3,100,200,3
sprite 4,100,300,4
rem main loop
do
rem chechks collision on top button and the "none selected" msg$ message
sprite 1,mousex(),mousey(),1
if sprite hit(1,2) then msg$ = "menu 1" else msg$ = "none selected"
if msg$ = "menu 1" and mouseclick()=1 then text 10,10,"clicked on menu 1"
rem collision and message for the middle box
if sprite hit(1,3) then msg$ = "menu 2"
if msg$ = "menu 2" and mouseclick()=1 then text 10,10,"clicked on menu 2"
rem collision and message for the lower box
if sprite hit(1,4) then msg$ = "menu 3"
if msg$ = "menu 3" and mouseclick()=1 then text 10,10,"clicked on menu 3"
rem prints out what you have selected and/not clicked on
text 0,0,msg$
rem loops (you need this)
loop
(it checks menu which the mouse is over and if it clicked on it with multiple menus) you can add the gosub_ yourselves.