public void map_click(int x, int y, int btn, int mod) {
        Gob pgob;
        synchronized (glob.oc) {
            pgob = glob.oc.getgob(playergob);
        }
        if (pgob == null)
            return;
        Coord mc = tilify(pgob.position());
        Coord offset = new Coord(x, y).mul(tileSize);
        mc = mc.add(offset);
        wdgmsg("click", JSBotUtils.getCenterScreenCoord(), mc, btn, mod);
    }