Draw a rectangle outline between two corners.
Parameters
x1
y1
x2
y2
draw_rect(20, 20, 120, 80)
Related: draw_box, set_color.
draw_box
set_color
See the drawing guide for more examples and limits.