@Override
    public void mouseMoved(MouseEvent e) {
        if (po != null) {

            po.temp = new Point(e.getX(), e.getY());


        }

        if (global == GlobalMode.EditMode) {
            panned = new ArrayList<PolygonObject>();

            for (PolygonObject O : manager.objects) {
                if (O.poly != null) {
                    if (O.poly.contains(e.getX(), e.getY())) {
                        panned.add(O);
                    }
                }
            }
        }

        // do detection for "selected" object
        //highlight = manager.isTouch(e.getX(), e.getY());


        //this.repaint();
    }