public void checkforclicked() {
        MouseInfo mouse = Greenfoot.getMouseInfo();
        if(mouse != null){  
            mx = mouse.getX();  
            my = mouse.getY();  
        }  
        
        if(mx >= 84 && mx <= 716 && my >= 242 && my <= 358) { //Greenfoot.getMouseInfo().getX() // alternativ
            setImage(clickr1);
        }
        else {
            setImage(clickr);
        }

        if (Greenfoot.mouseClicked(this)) {
            k--;
        }
        else if (Greenfoot.isKeyDown("enter")) {
            setImage(clickr1);
            k--;
        }
        else if (Greenfoot.isKeyDown("escape")) {
            setImage(clickr1);
            k--;
        }
    }