float sunX;
float sunY;

  void setup() { 
  size (600, 600);
  reset ();
}

void reset () {
  sunX=0;
  sunY=40;
  
}
  void draw () {
   background(150,200,240);
   action ();
   scene ();
   character ();
   
   
}  
  
  void scene() {
  fill ( 0, 253, 0);
  rect ( 0 , 400, 600, 550);
  fill ( 223, 255, 0);
 ellipse( sunX, sunY, 150, 150 ); 
}


  void character () { 
    
   
  
  }
  void action() {
 
 

 sunX =  sunX + 1;  // Sun moves across sky
  
  if (sunX > 675) { 
   reset();}
   
  }