Last active
February 10, 2020 04:40
-
-
Save redstoneleo/8bbe391b428536e38e69fa7162df789b to your computer and use it in GitHub Desktop.
mouse.on_pressed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def on_pressed(callback, args=()): | |
""" Invokes `callback` with `args` when the left button is pressed. """ | |
return on_button(callback, args, [LEFT], [DOWN]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment