MCPcopy Create free account
hub / github.com/e2b-dev/desktop / move_mouse

Method move_mouse

packages/python-sdk/e2b_desktop/main.py:396–403  ·  view source on GitHub ↗

Move the mouse to the given coordinates. :param x: The x coordinate. :param y: The y coordinate.

(self, x: int, y: int)

Source from the content-addressed store, hash-verified

394 )
395
396 def move_mouse(self, x: int, y: int):
397 """
398 Move the mouse to the given coordinates.
399
400 :param x: The x coordinate.
401 :param y: The y coordinate.
402 """
403 self.commands.run(f"xdotool mousemove --sync {x} {y}")
404
405 def mouse_press(self, button: Literal["left", "right", "middle"] = "left"):
406 """

Callers 7

left_clickMethod · 0.95
double_clickMethod · 0.95
right_clickMethod · 0.95
middle_clickMethod · 0.95
dragMethod · 0.95
mainFunction · 0.80
move_aroundFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected