def on_mouse_motion(self, x, y, dx, dy):
        cx, cy = x//hw, y//hh
        try:
            if (self.play_field[cx, cy] or self.play_field[cx+1, cy] or
                    self.play_field[cx, cy+1] or self.play_field[cx+1, cy+1]):
                self.show_highlight = False
                return True
        except __HOLE__:
            self.show_highlight = False
            return True
        self.show_highlight = True
        self.highlight.position = cx*hw, cy*hh
        return True
dataset/ETHPy150Open ardekantur/pyglet/contrib/spryte/dtd/dtd.py/Game.on_mouse_motion