function paddleInCanvas(){
  if(mouseY+paddle1Height > height){
    mouseY=height-paddle1Height;
  }
  if(mouseY < 0){
    mouseY =0;
  }
 
  
}
//this function help to not go te paddle out of canvas
this function help to not go te paddle out of canvas
this function help to not go te paddle out of canvas
function paddleInCanvas(){
  if(mouseY+paddle1Height > height){
    mouseY=height-paddle1Height;
  }
  if(mouseY < 0){
    mouseY =0;
  }
}
function paddleInCanvas ( ) { if ( mouseY + paddle1Height > height ) { mouseY = height - paddle1Height ; } if ( mouseY < 0 ) { mouseY = 0 ; } }
this function help to not go te paddle out of canvas
this function help to not go te paddle out of canvas