This might help you a little.
Found this snippet on my HD,don't know who wrote it.
Deano
sync on
autocam off
set camera range 10,10000
make object cube 1,100
color object 1, rgb(255,0,0)
make object plain 2,500,500
color object 2, rgb(0,255,0)
xrotate object 2,90
position object 2,0,-30,0
do
if mouseclick()=1 then move object 1,25
point object 1,object position x(1)+(mousex()-320),object position y(1),object position z(1)+(240-mousey())
position camera object position x(1),550,object position z(1)-800
point camera object position x(1),object position y(1),object position z(1)
sync
loop
"In this house we obey the laws of thermodynamics!"
--Homer Simpson, in response to Lisa's perpetual motion generator