set text font "arial",1
set display mode 640,480,16
sync on : sync rate 40
set camera range 1,100000
fog off : fog distance 1000 : fog color RGB(0,0,0)
autocam off
input " enter matrix number ";matnum
input " enter matrix x size ";matx
input " enter matrix y size ";matz
input " enter matrix tile size x ";mattx
input " enter matrix tile size z ";mattz
if matnum<=0 then matnum=1
if matx<=0 then matx=5000
if matz<=0 then matz=5000
if matx<=0 then mattx=25
if matx<=0 then mattz=25
make matrix matnum,matx,matz,mattx,mattz
prepare matrix texture matnum,1,2,2
color backdrop RGB(0,128,192) : ink RGB(255,255,255),RGB(0,128,192)
position mouse 512,384 : hide mouse
`randomization variables
matrixrandnum=matnum : matrixrandvalue#=5.00
`fog toggle
fog=0
do
text 20,0,"PRESS H TO BRING THE HELP MENU"
`mouse look
cx#=wrapvalue(cx#+mousemovey())
cy#=wrapvalue(cy#+mousemovex())
cz#=wrapvalue(cz#+mousemovez())
rotate camera cx#,cy#,cz#
if scancode()=19 then gosub rerand
if scancode()=35
text 20,20,"R = randomize matrix - T = reset randomization - E = toggle sky sphere - Esc = exit program"
text 20,30,"F = toggle fog - D = set fog distance - X = texture sky sphere - M = texture matrix "
endif
if scancode()=18
if object exist(1300)=0
set cursor 10,10
input skyradias
make object sphere 1300,skyradias
set object 1300,0,1,0
position object 1300,matx/2,0,matz/2
else
wait 500
delete object 1300
endif
endif
if scancode()=33
if fog=0
wait 500
fog on : fog=1
else
wait 500
fog off : fog =0
endif
endif
if scancode()=32
input fogdistance#
fog distance fogdistance#
endif
if scancode()=17 then move camera 5
if scancode()=31 then move camera -5
if escapekey()=1 then exit
sync
loop
my proplem is that when i use the input command while in 3d
i can't see what im writing

or the text before the input
any ideas to fix this proplem
M25