if(MoveMenu==1) { GetCursorPos(&mous); if(GetAsyncKeyState(VK_LBUTTON)) { Mousx= mous.x; Mousy= mous.y; menu.x =(Mousx); menu.y =(Mousy); } }else{ Mousx=0;Mousy=0; }