////Rectangle Practice - Make a Rectangle and drag it around

void setup()  {
  size( 400, 400 );
  background ( 250 );
}

////Setting up Center mode
void draw () {
  ellipseMode ( CENTER );
  rectMode ( CENTER );

  //Erase the whiteboard
  background( 255, 255, 255 );
  
  //Creating body
  
  fill( 0, 50, 0, 200 );
  rectMODE( CENTER );
  rect( mouseX, mouseY, 100, 100 );
}