int GetGUIObjectAt (int xx, int yy) { GUIObject *toret = GetGUIControlAtLocation(xx, yy); GlobalReturnValue.Invalidate(); if (toret == NULL) return -1; return toret->objn; }