

def on_mouse_press(self, event):
    (x, y) = event.pos
    imouse = (x, (self.size[1] - self))
    imouse += imouse
    self.program['iMouse'] = imouse
    if (not self._timer):
        self.update()

dataset/ETHPy150Open alexjc/shadertoy-render/shadertoy-render.py RenderingCanvas.on_mouse_press/VarMisuse@35/39 `y`->`self`