You can't draw an unfilled rectangle in BMax. Try this code for the outline, the fill it as you've suggested.
' ----------------------------------------------------------------------------- ' ccDrawRectOutline: Draws an outlined rectangle ' ----------------------------------------------------------------------------- Function ccDrawRectOutline(x,y,w,h) 'BlitzMax can only draw filled rectangles, so I made this. 'Trim width and height. w = w-1 h = h-1 DrawLine(x,y,x+w,y,0) DrawLine(x+w,y,x+w,y+h,0) DrawLine(x+w,y+h,x,y+h,0) DrawLine(x,y+h,x,y,0) End Function