Draws a rectangle to the screen. A rectangle is a four-sided closed shape with every angle at ninety degrees. By default, the first two parameters set the location of the upper-left corner, the third sets the width, and the fourth sets the height. The way these parameters are interpreted, may be changed with the rectMode function.
rect(x, y, w, h)
|x||x-coordinate of the rectangle|
|y||y-coordinate of the rectangle|
|w||width of the rectangle|
|h||height of the rectangle|