ile mouseclick()=0<br>
 if inkey$()="-" then set static portals on<br>
 if inkey$()="=" then set static portals off<br>
 if inkey$()="[" then set static objects wireframe on<br>
 if inkey$()="]" then set static objects wireframe off<br>
 control camera using arrowkeys 0,2,4<br>
 x#=object position x(d) : y#=object position y(d) : z#=object position z(d)<br>
 nx#=newxvalue(x#,object angle y(d),75.0) : nz#=newzvalue(z#,object angle y(d),75.0)<br>
 if static raycast(x#,y#,z#,nx#,y#,nz#)=0<br>
  yrotate object 