Here's a nifty function for drawing a clear box, aptly called 'clearbox'.
function clearbox(top,left,bottom,right)
line top,left,top,right
line top,right,bottom,right
line bottom,right,bottom,left
line bottom,left,top,left
endfunction
Here's an example of how to use it:
sync on : sync rate 100
backdrop on
do
x=mousex()
y=mousey()
clearbox(10,10,x,y)
sync
loop
function clearbox(top,left,bottom,right)
line top,left,top,right
line top,right,bottom,right
line bottom,right,bottom,left
line bottom,left,top,left
endfunction
You define the size of the box using the normal 'box' command setup: ie. "top,left,bottom,right" in that order.
Hope this helps ya.
Mog.
If u need any other help e-mail me, or call me on MSN at moggie100@hotmail.com
Life is like a hot bath, the longer you're in it, the more wrinkles you get.