public void checkMouse() 
    {
        MouseInfo mouse = Greenfoot.getMouseInfo ();
        if (mouse != null)
        {
            // pointer turns towers mouse position (coordinate)
            turnTowards (mouse.getX(), mouse.getY());            

        }        
    }