def move_to(x, y):
for b in _button_state:<EOL><INDENT>if _button_state[b]:<EOL><INDENT>e = Quartz.CGEventCreateMouseEvent(<EOL>None,<EOL>_button_mapping[b][<NUM_LIT:3>], <EOL>(x, y),<EOL>_button_mapping[b][<NUM_LIT:0>])<EOL>break<EOL><DEDENT><DEDENT>else:<EOL><INDENT>e = Quartz.CGEventCreateMouseEvent(<EOL>None,<EOL>Quartz.kCGEventMouseMoved,<EOL>(x, y),<EOL>Quartz.kCGMouseButtonLeft)<EOL><DEDENT>Quartz.CGEventPost(Quartz.kCGHIDEventTap, e)<EOL>
Sets the mouse's location to the specified coordinates.