1#Called when the user presses a mouse button.
2def on_mouse_press(self, x, y, button, key_modifiers):
3 pass
4
5#Called when the user presses a mouse button.
6def on_mouse_release(self, x: float, y: float, button: int, modifiers: int):
7 pass
8
9#User moves mouse
10def on_mouse_motion(self, x: float, y: float, dx: float, dy: float):
11 pass
12