I am using pick object, but its checking 16 diffrent objects, and then when I click on one they all hide, I need the one object i click on to hide as i click it, not all of the objects.here is the full code
x#=0:y#=0:z#=0
set cursor 0,0
if mouseclick()=0 then pickmode=0
if mouseclick()>0
if pick object(mousex(),mousey(),4,20)>0
if pickmode=0
d#=get pick distance()
x#=get pick vector x():y#=get pick vector y():z#=get pick vector z()
inc pickmode
endif
endif
if pickmode=1
pick screen mousex(),mousey(),d#
dx#=x#-get pick vector x():dy#=y#-get pick vector y():dz#=z#-get pick vector z()
print dx#," ",dy#," ",dz#
endif
for game1=4 to 20
hide object game1
next game1
endif

Logo by The Next