while (shphere_is!=true )//Проверка, взят ли шар или там ни чего нет { if(keys[VK_RETURN] && !isEmptyPos(x,y)) shphere_is = true; }