private void shrinkImage(int width) {    
        if (width >=2)
        {        
            // initailize paddile image
            GreenfootImage img = getImage();
            // change its dimensions according to preference
            img.scale(width, img.getHeight());
            // refresh, display new paddle
            setImage(img);      
        }
    }